Description
Power Analysis and Data Simulation for Multilevel Models.
Description
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.
README.md
mlmpower
An R Package for simulating and completing power analysis for multilevel models
Installing Package
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)
Using the Package
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')
Bug Reporting and Feature Request
Please use the Issues tab.