ICC: Prints the intraclass correlation coefficient

View source: R/auxiliar_functions.R

ICCR Documentation

Prints the intraclass correlation coefficient

Description

Prints the intraclass correlation coefficient (ICC)

Usage

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

Arguments

x

An object of class iccc

digits

Number of digits to print

Value

A vector with the ICC estimate, its standard error and confidence interval.

See Also

icc_counts()

Examples

# Poisson model. Repeatability setting.
iccpois<-icc_counts(Grimso,y="Tot",id="TransectID")
ICC(iccpois)
# Negative Binomial with proportional extra-dispersion. Concordance setting
iccnb2<-icc_counts(AF,y="y",id="id",met="met",type="con",fam="nbinom2")
ICC(iccnb2)
# Zero-inflated Poisson model. Repeatability setting
icczip<-icc_counts(EPP,y="Social",id="id",fam="zip")
ICC(icczip)

iccCounts documentation built on May 29, 2024, 7:57 a.m.