agreement: Van der Ejik's Agreement

View source: R/agreement.R

agreementR Documentation

Van der Ejik's Agreement

Description

An implementation of Van der Ejik's (2001) agreement coefficient to quantify dispersion in an ordinal distribution. Ranges from -1 (complete polarisation) to 1 (complete agreement). Partially based on the agreement function from the agrmt R package (Ruedin 2016).

Usage

agreement(x, values = NULL)

Arguments

x

Atomic vector containing integer values.

values

Atomic vector containing unique values of the input vector. Necessary if the vector contains 0 of a given value.

Value

double

References

\insertRef

van2001psmisc

\insertRef

ruedin2016psmisc


philswatton/polimetrics documentation built on Jan. 30, 2023, 3:21 p.m.