Sample Size Calculations for Longitudinal Data
Overview
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
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- 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
Repository
- 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
Forks over time
Issues over time
PRs over time
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.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Code & Tests
People & History
Show 4 peopleHide 4 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.27Latest
- 1.0.262024-08-27 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.0.252024-01-24 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.0.24
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.232021-04-20 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.0-212020-04-22 · diff ↗ ·
removed 5 exports
lmmpower.double, lmmpower.numeric, lmmpower.default, lmmpower.gee, lmmpower.lme - RR 3.6.0 released · 2019-04-26
- unarchivedReturned to CRAN2019-03-07
- 1.0-19
Show 24 earlier eventsHide 24 earlier events
- archivedRemoved from CRAN2019-02-19check problems were not corrected in time
- 1.0-16.12018-09-11 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 1.0-162016-07-25 · diff ↗
- 1.0-152016-05-18 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 4 exports
edland.linear.power, lmmpower, lmmpower.numeric, power.longtest - RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 1.0-112015-01-16 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.0-102013-09-21 · diff ↗
- 1.0-92013-06-17 · diff ↗
- 1.0-82013-05-28 · diff ↗
- 1.0-72013-05-22 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.0-42013-01-23 · diff ↗
- 1.0-3
- 1.0-22012-05-31 · diff ↗
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- 1.0-12010-09-01
- RR 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.
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.