Learn R Programming

mlmpower (version 1.0.11)

print.mp_correlations: Prints a mp_correlations

Description

Prints a mp_correlations in a human readable format.

Usage

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

Value

Invisibly returns the original variable.

Arguments

x

a mp_correlations.

...

other arguments not used by this method.

Examples

Run this code
model <- (
    outcome('Y')
    + within_predictor('X')
    + effect_size(
        icc = c(0.1, 0.2),
        within = 0.3
    )
)
# Print correlations only
print(model$corrs)

Run the code above in your browser using DataLab