Skip to content

nRegression

0.5.1

Simulation-Based Calculations of Sample Size for Linear and Logistic Regression

0packages depend
7.6Kdownloads / year
91.4%test coverage
13/13checks pass

Overview

About
Maintained by Srivastav BuduguttaFirst published 2023-10-152 releasesCRAN page ↗

Provides a function designed to estimate the minimal sample size required to attain a specific statistical power in the context of linear regression and logistic regression models through simulations.

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.81
91.4%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

7.6K
CRAN downloads in the past year
Rank #6,347 · ~21/day · ~632/mo
Daily download trend is not available in this view yet.
14330 days
1.4K90 days
7.6K1 year
Compare downloads with other packages →
Also on97 r2u2 autocran

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Contributor, Maintainer
Authors (1)
Contributors (2)
Contributor, Maintainer
Contributor · added in 0.5.1
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.1Latest
    2023-10-18 · current release · diff ↗
  • 0.0.5
    2023-10-15
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-10-15
Total releases
2 / 3 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Download size
17 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("nRegression")

CRAN DOI

https://doi.org/10.32614/CRAN.package.nRegression

BibTeX, derived from DESCRIPTION

@Manual{nRegression,
  title  = {nRegression: Simulation-Based Calculations of Sample Size for Linear and
Logistic Regression},
  author = {Budugutta, Srivastav and Bansal, Mayur and Shilane, David},
  year   = {2023},
  note   = {R package version 0.5.1},
  doi    = {10.32614/CRAN.package.nRegression},
  url    = {https://CRAN.R-project.org/package=nRegression}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorynRegression,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {nRegression} version 0.5.1},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/nRegression},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for nRegression version 0.5.1 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/nRegression

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for nRegression version 0.5.1
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/nRegression
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/nRegression.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy