potential_interactions | R Documentation |
Refits lmer model with given 'random terms' and correlates the predicted random effects with aggregated at group level variable mentioned at 'group.level.terms'
potential_interactions(
random.terms,
group.level.terms,
lmer.fit,
measure = c("correlation", "interaction")
)
random.terms |
Individual predictors that should be made random and associated with predictors (mediators) at group level |
group.level.terms |
Predictors (mediators) at the group level |
lmer.fit |
Model fitted with lmer. |
measure |
Character. correlation or interaction |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.