Skip to contents

Intraclass correlation coefficient (Shrout & Fleiss 1979)

Usage

intraclass_correlation(data, targets, raters, ratings, icc_type = "ICC3k")

Arguments

data

Long-format data frame.

targets

Subject ID column.

raters

Rater ID column.

ratings

Numeric rating column.

icc_type

One of "ICC1", "ICC1k", "ICC2", "ICC2k", "ICC3", "ICC3k".