View source: R/auxiliar_functions.R
VarComp | R Documentation |
Prints the GLMM variance components and related parameters to estimate the intraclass correlation coefficient (ICC)
VarComp(x, digits = getOption("digits"))
x |
An object of class iccc |
digits |
Number of digits to print |
A vector with the variance components and related parameters
icc_counts()
# Poisson model. Repeatability setting.
iccpois<-icc_counts(Grimso,y="Tot",id="TransectID")
VarComp(iccpois)
# Negative Binomial with proportional extra-dispersion. Concordance setting
iccnb2<-icc_counts(AF,y="y",id="id",met="met",type="con",fam="nbinom2")
VarComp(iccnb2)
# Zero-inflated Poisson model. Repeatability setting
icczip<-icc_counts(EPP,y="Social",id="id",fam="zip")
VarComp(icczip)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.