A declarative language for specifying multilevel models, solving for population parameters based on specified variance-explained effect size measures, generating data, and conducting power analyses to determine sample size recommendations. The specification allows for any number of within-cluster effects, between-cluster effects, covariate effects at either level, and random coefficients. Moreover, the models do not assume orthogonal effects, and predictors can correlate at either level and accommodate models with multiple interaction effects.
An R Package for simulating and completing power analysis for multilevel models
To install the package via CRAN run the following:
install.packages('mlmpower')
To install the dev build via GitHub use the following command:
remotes::install_github('bkeller2/mlmpower', build_vignettes = TRUE)
A guide to using the package is provided through the vignette.
The following command will open the vignette:
vignette('mlmpower')
Additional details can be obtained throughout the documentation, starting with:
?mlmpower::mlmpower
or
help(package = 'mlmpower')
Please use the Issues tab.