Sample Size Calculations for Longitudinal Data

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) . Relevant formulas are derived by Liu and Liang (1997) , Diggle et al (2002) , and Lu, Luo, and Chen (2008) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("longpower")

1.0.27 by Michael C. Donohue, 2 years ago


https://github.com/mcdonohue/longpower


Browse source code at https://github.com/cran/longpower


Authors: Michael C. Donohue [aut, cre] , Steve D. Edland [ctb] , Nan Hu [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports methods

Depends on lme4, nlme

Suggests gee, testthat, knitr, rmarkdown


See at CRAN