Learn R Programming

mlmpower (version 1.0.11)

summary.mp_power: Summarizes a mp_power

Description

Summarizes a mp_power in a human readable format. This is a simple wrapper for print.mp_power.

Usage

# S3 method for mp_power
summary(object, ...)

Value

Invisibly returns the original variable.

Arguments

object

a mp_power.

...

other arguments not used by this method.

Examples

Run this code
# Create Model
model <- (
    outcome('Y')
    + within_predictor('X')
    + effect_size(icc = 0.1)
)
# Set seed
set.seed(19723)
# Create data set and analyze
# Note: Generally Use more than 50 replications
model |> power_analysis(50, 5, 50) -> powersim
# Summarizes results
summary(powersim)

Run the code above in your browser using DataLab