ScoreQuadraticWeightedKappa {Metrics}R Documentation

Quadratic Weighted Kappa

Description

ScoreQuadraticWeightedKappa computes the quadratic weighted kappa between two vectors of integers

Usage

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

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)

[Package Metrics version 0.1.4 Index]