powered by
MeanQuadraticWeightedKappa computes the mean quadratic weighted kappa, which can optionally be weighted
MeanQuadraticWeightedKappa
MeanQuadraticWeightedKappa(kappas, weights = rep(1, length(kappas)))
A numeric vector of possible kappas.
An optional numeric vector of ratings.
ScoreQuadraticWeightedKappa
# NOT RUN { kappas <- c(0.3 ,0.2, 0.2, 0.5, 0.1, 0.2) weights <- c(1.0, 2.5, 1.0, 1.0, 2.0, 3.0) MeanQuadraticWeightedKappa(kappas, weights) # }
Run the code above in your browser using DataLab