print.mp_effsize: Prints a 'mp_effsize'

View source: R/effect_size.R

print.mp_effsizeR Documentation

Prints a mp_effsize

Description

Prints a mp_effsize in a human readable format.

Usage

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

Arguments

x

a mp_effsize.

...

other arguments not used by this method.

Value

Invisibly returns the original variable.

Examples

model <- (
    outcome('Y')
    + within_predictor('X')
    + effect_size(
        icc = c(0.1, 0.2),
        within = 0.3
    )
)
# Print effect size only
print(model$effect_size)

mlmpower documentation built on June 8, 2025, 11:07 a.m.