levels.mp_variable | R Documentation |
Returns which level a variable is observed at in the multilevel model.
## S3 method for class 'mp_variable'
levels(x)
x |
a |
Returns a single integer of the level of observation
# Returns 1
levels(
within_predictor(
'X',
weight = 1,
mean = 5,
sd = 10,
icc = 0.1
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.