Skip to content

longpower

1.0.27Package record

Sample Size Calculations for Longitudinal Data

0packages depend
11.4Kdownloads / year
83.5%test coverage
13/13flavors OK

Overview

About

Compute power and sample size for linear models of longitudinal data. Supported models include mixed-effects models and models fit by generalized least squares and generalized estimating equations. The package is described in Iddi and Donohue (2022) DOI:10.32614/RJ-2022-022. Relevant formulas are derived by Liu and Liang (1997) DOI:10.2307/2533554, Diggle et al (2002) <ISBN:9780199676750>, and Lu, Luo, and Chen (2008) DOI:10.2202/1557-4679.1098.

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.27
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSNoCitation fileYes · cites a publication
Cites an R Journal article
Help pages
11 (1 internal)includes a package overview page
Examples that run
100%8 run in a plain check
Exported functions with examples
89%
Documented parameters
99%
Return-value docs
89%
Help pages citing references
73%

Downloads

11.4K
CRAN downloads in the past year
Rank #4,247 · ~31/day · ~954/mo
Daily download trend is not available in this view yet.
68730 days
2.1K90 days
11.4K1 year
Compare downloads with other packages →
Also on149 r2u6 autocran130 c2d4u

Repository

5Stars
5Forks
4Open issues
0Open PRs
0Releases
84Commits
5Commit identities
84 commits · Last activity 2024-09-04 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
75%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-02-11 · 22026-08-22 · 5
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/mcdonohue/longpower on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Coverage (1)
Coverage reporting
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing longpower adds 8 packages (6 with compiled code, 11 MB of source tarballs). Heaviest: lme4 4.3 MB, nloptr 2.1 MB, Rcpp 1.8 MB.

Depends (3)
R >= 3.0.0lme4nlme
Imports (1)
methods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 1.0-1 (2010)
Contributor
Contributor · added in 1.0.24
Listed in earlier versions (4)
Show 4 peopleHide 4 people
Steven D. Edland
no longer listed · 1.0-1 to 1.0-16.1
Anthony C. Gamst
no longer listed · 1.0-1 to 1.0-16.1
Michael C.
no longer listed · 1.0-21 to 1.0.27
Steve D.
no longer listed · 1.0-21 to 1.0.27
Releases (19)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.27Latest
    record
    2024-09-05 · current release · diff ↗ ·
    added 1 export
    cprm.power
  • 1.0.26
    record
    2024-08-27 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.25
    record
    2024-01-24 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.24
    record
    2023-01-11 · diff ↗ ·
    added 1 export
    hu.mackey.thomas.linear.power
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.23
    record
    2021-04-20 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0-21
    record
    2020-04-22 · diff ↗ ·
    removed 5 exports
    lmmpower.double, lmmpower.numeric, lmmpower.default, lmmpower.gee, lmmpower.lme
  • R
    R 3.6.0 released · 2019-04-26
  • unarchivedReturned to CRAN
    2019-03-07
  • 1.0-19
    record
    2019-03-07 · diff ↗ ·
    added 1 export
    lmmpower.double
Show 24 earlier eventsHide 24 earlier events
  • archivedRemoved from CRAN
    2019-02-19
    check problems were not corrected in time
  • 1.0-16.1
    record
    2018-09-11 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0-16
    record
    2016-07-25 · diff ↗
  • 1.0-15
    record
    2016-05-18 · diff ↗ ·
    removed 1 export
    pattern:^[[:alpha:]]+
    added 4 exports
    edland.linear.power, lmmpower, lmmpower.numeric, power.longtest
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0-11
    record
    2015-01-16 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.0-10
    record
    2013-09-21 · diff ↗
  • 1.0-9
    record
    2013-06-17 · diff ↗
  • 1.0-8
    record
    2013-05-28 · diff ↗
  • 1.0-7
    record
    2013-05-22 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.0-4
    record
    2013-01-23 · diff ↗
  • 1.0-3
    record
    2013-01-11 · diff ↗ ·
    added 2 exports
    power.mmrm, power.mmrm.ar1
  • 1.0-2
    record
    2012-05-31 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 1.0-1
    record
    2010-09-01
  • R
    R 2.11.0 released · 2010-04-22

Package metadata

First published
2010-09-01
Total releases
19 / 16 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.0.0
Download size
52 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("longpower")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.32614/rj-2022-022.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for longpower version 1.0.27 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

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