maxwell {irr} | R Documentation |
Maxwell's RE coefficient for binary data
Description
Computes Maxwell's RE as an index of the interrater agreement of binary data.
Usage
maxwell(ratings)
Arguments
ratings |
n*2 matrix or dataframe, n subjects 2 raters. |
Details
Missing data are omitted in a listwise way.
Value
A list with class '"irrlist"' containing the following components:
$method |
a character string describing the method applied for the computation of interrater reliability. |
$subjects |
the number of subjects examined. |
$raters |
the number of raters (=2). |
$irr.name |
a character string specifying the name of the coefficient. |
$value |
value of RE. |
Author(s)
Matthias Gamer
References
Maxwell, A.E. (1977). Coefficients of agreement between observers and their interpretation. British Journal of Psychiatry, 130, 79-83.
See Also
Examples
data(anxiety)
# Median-split to generate binary data
r1 <- ifelse(anxiety$rater1<median(anxiety$rater1),0,1)
r2 <- ifelse(anxiety$rater2<median(anxiety$rater2),0,1)
maxwell(cbind(r1,r2))
[Package irr version 0.84.1 Index]