Learn R Programming

StatMethRank (version 1.3)

agreement.test: Test for Agreement of Ranking Data Among Groups

Description

This function performs a test of agreement among groups.

Usage

agreement.test(data, method = c("spearman", "kendall"))

Arguments

data
a data frame of the frequencies of all possible rankings given by different groups
method
whether the test is based on Spearman metric or Kendall metric

Value

a list of test statistics

References

Intergroup Diversity and Concordance for Ranking Data: An Approach via Metrics for Permuatations, Paul D. Feigin and Mayer Alvo

Examples

Run this code
data(Sutton)
agreement.test(Sutton, method = "spearman")
agreement.test(Sutton, method = "kendall")

Run the code above in your browser using DataLab