conditional.agreement: Conditional agreement for more than 2 categories

View source: R/conditiona.agreement.R

conditional.agreementR Documentation

Conditional agreement for more than 2 categories

Description

Conditional agreement when there are more than two categories (averages over discordant cells to correct for random rater combinations). INCLUDE FORMULAS.

Usage

conditional.agreement(data, ...)

Arguments

data

A data matrix or table with equal number of columns and rows.

...

options for sumtable

Value

conditionaltable is a table with conditional agreement proportions. On the diagonal the specific agreement proportions for each category are displayed.

Examples

df <- data.frame(r1=factor(c(1,2,2,0,3,3,1,0,3,0,2,2,0,3,1)),
                 r2=factor(c(1,1,1,0,3,3,1,0,1,0,2,2,0,2,1)),
                 r3=factor(c(1,1,1,3,3,2,1,0,1,0,2,2,0,3,1)),
                 r4=factor(c(1,2,1,0,3,3,1,0,3,0,2,2,0,2,1)))
conditional.agreement(df)

iriseekhout/Agree documentation built on July 28, 2023, 11:24 p.m.