as.list.mp_parameters {mlmpower} | R Documentation |
Convert mp_parameters
to a list
Description
A wrapper to coerce mp_parameters
to a list
.
Usage
## S3 method for class 'mp_parameters'
as.list(x, ...)
Arguments
x |
the |
... |
additional arguments passed to |
Value
a list
Examples
# Specify model
model <- (
outcome('Y')
+ within_predictor('X')
+ effect_size(
icc = c(0.1, 0.2),
within = 0.3
)
)
# Obtain parameters and convert to a list
model |> summary() |> as.list() -> param_list
[Package mlmpower version 1.0.8 Index]