# 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
Run the code above in your browser using DataLab