Learn R Programming

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.

Copy Link

Version

Install

install.packages('mlmpower')

Monthly Downloads

620

Version

1.0.9

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Brian T. Keller

Last Published

October 20th, 2024

Functions in mlmpower (1.0.9)

product

Create a Product Term in a Model
print.mp_power

Prints a mp_power
random_slope

Create a Random Slope in a Model
subset.mp_model

Subset a mp_model by Global ICC
summary.mp_model

Obtain the Parameter Summaries for A mp_model
print.mp_variable

Prints a mp_variable
print.mp_effsize

Prints a mp_effsize
summary.mp_power

Summarizes a mp_power
to_formula

analyze

center

Center a data set based on a mp_data
is_valid

Check if a Model is Properly Specified
as.data.frame.mp_power

Coerce a mp_power to a Data Frame
generate

Generates Data Sets Based on a mp_model
effect_size

Specify the Effect Size for the Model
mechanisms

Helper functions for producing Missing Data Mechanisms
correlations

Specify the Correlation Structure for the Model
levels.mp_variable

Obtain Level of Observation for a Variable
as.list.mp_parameters

print.mp_correlations

Prints a mp_correlations
mlmpower

mlmpower Modeling Framework
parameters

Obtain mp_parameters from objects
Variables

Functions for Creating Variables
print.mp_model

Prints a mp_model
mp_corr_func

Functions for Generating Correlations
power_analysis

Conduct a Power Analysis Based on mp_model
mp_parameters

mp_parameters Object for mlmpower
print.mp_parameters

Prints a mp_parameters