MeanQuadraticWeightedKappa {Metrics} | R Documentation |
Mean Quadratic Weighted Kappa
Description
MeanQuadraticWeightedKappa
computes the mean quadratic weighted kappa,
which can optionally be weighted
Usage
MeanQuadraticWeightedKappa(kappas, weights = rep(1, length(kappas)))
Arguments
kappas |
A numeric vector of possible kappas. |
weights |
An optional numeric vector of ratings. |
See Also
Examples
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)
[Package Metrics version 0.1.4 Index]