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.
Package details 


Author  Michael C. Donohue, Anthony C. Gamst, Steven D. Edland 
Date of publication  20160725 20:36:27 
Maintainer  Michael C. Donohue <mdonohue@usc.edu> 
License  GPL (>= 2) 
Version  1.016 
URL  https://bitbucket.org/mdonohue/longpower 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.