VarComp {iccCounts}R Documentation

GLMM variance components

Description

Prints the GLMM variance components and related parameters to estimate the intraclass correlation coefficient (ICC)

Usage

VarComp(x, digits = getOption("digits"))

Arguments

x

An object of class iccc

digits

Number of digits to print

Value

A vector with the variance components and related parameters

See Also

icc_counts()

Examples

# 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)

[Package iccCounts version 1.1.2 Index]