ScoreQuadraticWeightedKappa: Quadratic Weighted Kappa

Description Usage Arguments See Also Examples

Description

ScoreQuadraticWeightedKappa computes the quadratic weighted kappa between two vectors of integers

Usage

1
2
ScoreQuadraticWeightedKappa(rater.a, rater.b, min.rating = min(c(rater.a,
  rater.b)), max.rating = max(c(rater.a, rater.b)))

Arguments

rater.a

An integer vector of the first rater's ratings.

rater.b

An integer vector of the second rater's ratings.

min.rating

The minimum possible rating.

max.rating

The maximum possible rating.

See Also

MeanQuadraticWeightedKappa

Examples

1
2
3
rater.a <- c(1, 4, 5, 5, 2, 1)
rater.b <- c(2, 2, 4, 5, 3, 3)
ScoreQuadraticWeightedKappa(rater.a, rater.b, 1, 5)

Example output

[1] 0.56

Metrics documentation built on May 1, 2019, 10:11 p.m.