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.
install.packages("longpower")
# install.packages('remotes')
# remotes::install_github("mcdonohue/longpower")
install.packages("longpower", repos = c('https://mcdonohue.r-universe.dev', 'https://cloud.r-project.org'))