Description Usage Arguments Details Value See Also Examples
Use the O'Connell-Dobson-Schouten estimators of agreement for nominal or ordinal data.
1 |
X |
A matrix or data-frame with observations/subjects as rows and raters as columns. |
weights |
|
score |
The scores that are to be assigned to the categories. Currently, this defaults to a sorted list of the unique values. |
The Fortran code from Professor Dianne O'Connell was adapted for R.
The output object is very similar to the Fortan code. Not
all of the variance terms are currently used in the print
and summary
methods.
oconnell |
object from the |
schouten |
object from the |
call |
As per |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Table 1 (O'Connell and Dobson, 1984)
summary(fit <- magree(landis, weights="unweighted"))
update(fit, weights="linear")
update(fit, weights="quadratic")
## Table 5, O'Connell and Dobson (1984)
magree(landis==1)
magree(landis==2)
magree(landis==3)
magree(landis==4)
magree(landis==5)
## Plot of the marginal distributions
plot(fit)
## Plot of the average agreement by observer
plot(fit, type="kappa by observer")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.