Refits lmer model with given 'random terms' and correlates the predicted random effects with aggregated at group level variable mentioned at 'group.level.terms'
Usage
potential_interactions(
random.terms,
group.level.terms,
lmer.fit,
measure = c("correlation", "interaction")
)