Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ScoreQuadraticWeightedKappa

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

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)

Metrics

Evaluation Metrics for Machine Learning

v0.1.4
BSD_3_clause + file LICENSE
Authors
Ben Hamner [aut, cph], Michael Frasco [aut, cre], Erin LeDell [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.