The longpower package contains functions for computing power and sample size for linear models of longitudinal data based on the formula due to Liu and Liang (1997) and Diggle et al (2002). Either formula is expressed in terms of marginal model or Generalized Estimating Equations (GEE) parameters. This package contains functions which translate pilot mixed effect model parameters (e.g. random intercept and/or slope) into marginal model parameters so that the formulas of Diggle et al or Liu and Liang formula can be applied to produce sample size calculations for two sample longitudinal designs assuming known variance.

Maintainer: Michael C. Donohue <mdonohue at usc.edu>

Author(s): Michael C. Donohue, Anthony C. Gamst, Steven D. Edland

Install package and any missing dependencies by running this line in your R console:

install.packages("longpower")

Depends R (>= 3.0.0), lme4(>=1.0), nlme
Imports
Suggests knitr, gee, testthat, methods
Enhances
Linking to
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package longpower
Materials
URL https://bitbucket.org/mdonohue/longpower
Task Views ClinicalTrials
Version 1.0-16
Published 2016-07-25
License GPL (>= 2)
BugReports
SystemRequirements
NeedsCompilation no
Citation
CRAN checks longpower check results
Package source longpower_1.0-16.tar.gz