icc | R Documentation |
Intra class correlation for rater reliability
icc(
data,
method = c("oneway", "agreement", "consistency"),
cols = colnames(data),
sem = TRUE,
confint = TRUE,
alpha = 0.05,
var = FALSE,
onemodel = FALSE
)
data |
data.frame with repeated measures or observations in the columns and rated subjects in the rows |
method |
type of ICC that is returned, options are: 'c("oneway", "agreement", "consistency")', the default returns all. |
cols |
column names used for the repeated measures in the wide format, default uses 'cols = colnames(data)' |
sem |
logical vector if standard error of measurement is returned. |
confint |
logical vector if confidence interval for ICC is returned. |
alpha |
the confidence level required, default 'alpha = 0.05'. |
var |
logical indicator if variance estimates are returned. |
onemodel |
logical indicator if all ICC's should be computed from one model to increase computation time, defalt 'onemodel = FALSE'. |
matrix with relevant output
[icc_agreement()] [icc_oneway()] [icc_consistency()]
mam <-
breast[,c("Mam1_score","Mam2_score", "Mam3_score")]
icc(data = mam, confint = TRUE, var = TRUE)
pch <- breast[,c("PCH1_score", "PCH2_score","PCH3_score",
"PCH4_score","PCH5_score")]
icc(data = pch)
icc(data = pch, confint = FALSE, var = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.