View source: R/auxiliar_functions.R

ICC | R Documentation |

Prints the intraclass correlation coefficient (ICC)

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

`x` |
An object of class |

`digits` |
Number of digits to print |

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

`icc_counts()`

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.