File: MeanQuadraticWeightedKappa.Rd

package info (click to toggle)
r-cran-metrics 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 292 kB
  • sloc: sh: 13; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classification.R
\name{MeanQuadraticWeightedKappa}
\alias{MeanQuadraticWeightedKappa}
\title{Mean Quadratic Weighted Kappa}
\usage{
MeanQuadraticWeightedKappa(kappas, weights = rep(1, length(kappas)))
}
\arguments{
\item{kappas}{A numeric vector of possible kappas.}

\item{weights}{An optional numeric vector of ratings.}
}
\description{
\code{MeanQuadraticWeightedKappa} computes the mean quadratic weighted kappa,
which can optionally be weighted
}
\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)
}
\seealso{
\code{\link{ScoreQuadraticWeightedKappa}}
}