Computes Kendall's coefficient of concordance as an index of interrater reliability of ordinal data. The coefficient could be corrected for ties within raters.
kendall(ratings, correct = FALSE)
n*m matrix or dataframe, n subjects m raters.
a logical indicating whether the coefficient should be corrected for ties within raters.
A list with class '"irrlist"' containing the following components:
a character string describing the method applied for the computation of interrater reliability.
the number of subjects examined.
the number of raters.
a character string specifying the name of the coefficient.
coefficient of interrater reliability.
a character string specifying the name and the df of the corresponding chi-squared test.
the value of the test statistic.
the p-value for the test.
the character string of a warning message if ties were found within raters.
Missing data are omitted in a listwise way. Kendall's W should be corrected for ties if raters did not use a true ranking order for the subjects. A test for the significance of Kendall's W is only valid for large samples.
Kendall, M.G. (1948). Rank correlation methods. London: Griffin.
# NOT RUN {
data(anxiety)
kendall(anxiety, TRUE)
# }
Run the code above in your browser using DataLab