maxwell: Maxwell's RE

Description Usage Arguments References See Also Examples

View source: R/agree_stats.R

Description

Computes Maxwell's RE coefficient for binary data of two raters.

Usage

1
2
3
maxwell(ratings)

maxwelln(ratings)

Arguments

ratings

an n x 2 matrix or data frame with n subjects and 2 raters with binary ratings

note if ratings contains more than two columns, the first two are used and the remaining are ignored; to compute the pairwise coefficient for an n x r matrix with r raters, use maxwelln; see examples

References

Maxwell, A.E. (1977). Coefficients of agreement between observers and their interpretation. Br J Psychiatry 130: 79-83.

See Also

maxwell

Examples

1
2
3
4
5
6
7
8
anx <- +(anxiety > 1)
maxwell(anx)

## compare
irr::maxwell(anx[, -3])

## to get RE for all pairs of raters
maxwelln(anx)

raredd/ragree documentation built on March 25, 2021, 1:42 p.m.