print.mp_power {mlmpower}R Documentation

Prints a mp_power

Description

Prints a mp_power in a human readable format.

Usage

## S3 method for class 'mp_power'
print(x, ...)

Arguments

x

a mp_power.

...

other arguments not used by this method.

Value

Invisibly returns the original variable.

Examples

# 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
# Print results
print(powersim)

[Package mlmpower version 1.0.8 Index]