View source: R/conditiona.agreement.R
conditional.agreement | R Documentation |
Conditional agreement when there are more than two categories (averages over discordant cells to correct for random rater combinations). INCLUDE FORMULAS.
conditional.agreement(data, ...)
data |
A data matrix or table with equal number of columns and rows. |
... |
options for sumtable |
conditionaltable is a table with conditional agreement proportions. On the diagonal the specific agreement proportions for each category are displayed.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.