print.mp_correlations: Prints a 'mp_correlations'

View source: R/correlations.R

print.mp_correlationsR Documentation

Prints a mp_correlations

Description

Prints a mp_correlations in a human readable format.

Usage

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

Arguments

x

a mp_correlations.

...

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 correlations only
print(model$corrs)

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