longpower: 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.

To install via CRAN:

install.packages("longpower")

To install via github:

# install.packages('remotes')
# remotes::install_github("mcdonohue/longpower")
install.packages("longpower", repos = c('https://mcdonohue.r-universe.dev', 'https://cloud.r-project.org'))