ICC_ranef: A function to extimate the ICC (intra-class correlation)

Description Usage Arguments

View source: R/ICC_ranef.R

Description

This function allows, for a given lmer model, to estimate by how much a random effect explains the total variance of the model. Moreover, if the ICC is high, the difference inside the element of the class are important (large differences among the subjects for example). And if the ICC is small, it implies a coherence inside the class.

Usage

1
ICC_ranef(model)

Arguments

model

A lmer or glmer model from the lme4 package


EricMenetre/NPL documentation built on June 23, 2021, 2:10 p.m.