man/kappa.Rd
raw| 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/ModelMetrics.R |
| 3 | \name{kappa} |
| 4 | \alias{kappa} |
| 5 | \title{kappa statistic} |
| 6 | \usage{ |
| 7 | kappa(actual, predicted, cutoff = 0.5) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{actual}{A vector of the labels} |
| 11 | |
| 12 | \item{predicted}{A vector of predicted values} |
| 13 | |
| 14 | \item{cutoff}{A cutoff for the predicted values} |
| 15 | } |
| 16 | \description{ |
| 17 | Calculates kappa statistic. Currently build to handle binary values in \code{actual} vector. |
| 18 | } |