kendall.w {DTSEA}R Documentation

Kendall's coefficient of concordance W

Description

Computes the Kendall's coefficient of concordance.

Usage

kendall.w(raw, correct = TRUE)

Arguments

raw

A data frame or matrix contains n subjects * m raters.

correct

Logical. Indicates whether the W should be corrected for ties within raters.

Value

The resulting list consists of title, kendall.w, chisq, df, pval, report.

Examples

library(DTSEA)
library(tibble)

# Load the data
data <- tribble(~x, ~y, ~z, 1,1,2,  5,6,5,  7,8,4, 2,3,2, 8,6,5)

# Run Kendall's W
print(kendall.w(data)$report)

[Package DTSEA version 0.0.3 Index]