View source: R/find_random_slopes.R
find_random_slopes | R Documentation |
Return the name of the random slopes from mixed effects models.
find_random_slopes(x)
x |
A fitted mixed model. |
A list of character vectors with the name(s) of the random slopes, or
NULL
if model has no random slopes. Depending on the model, the returned
list has following elements:
random
, the random slopes from the conditional part of model
zero_inflated_random
, the random slopes from the zero-inflation
component of the model
data(sleepstudy, package = "lme4")
m <- lme4::lmer(Reaction ~ Days + (1 + Days | Subject), data = sleepstudy)
find_random_slopes(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.