kendallW: Kendall's W (coefficient of concordance)

View source: R/kendallW.R

kendallWR Documentation

Kendall's W (coefficient of concordance)

Description

Compute Kendall's W, also known as coefficient of concordance among observed rankings and those predicted by the Plackett-Luce model.

Usage

kendallW(x, ...)

## Default S3 method:
kendallW(x, y, ...)

## S3 method for class 'pltree'
kendallW(x, newdata = NULL, ...)

Arguments

x

an object of class pltree

...

additional arguments passed to methods

y

an object of class pltree

newdata

data for predictions

Details

It is as wrapper of the function DescTools::KendallW, adapted to compute the Kendall's W on the observed and predicted rankings.

Kendall's W values range between 0 (no agreement) to 1 (full agreement)

Value

Kendall's W (coefficient of concordance)

Author(s)

David Brown and Jacob van Etten

See Also

Other goodness-of-fit functions: kendallTau(), pseudoR2()


agrobioinfoservices/gosset documentation built on March 13, 2024, 11:23 a.m.