(
outcome('Y')
+ within_predictor('X')
+ effect_size(
icc = c(0.1, 0.2),
within = 0.3
)
# Defaults
+ correlations(
within = random(0.1, 0.3),
between = random(0.1, 0.3),
randeff = random(0.1, 0.3)
)
)
Run the code above in your browser using DataLab