cohen_kappa: Cohen's Kappa

View source: R/cohen_kappa.R

cohen_kappaR Documentation

Cohen's Kappa

Description

Calculate Cohen's Kappa using confusion matrix. Contrary to Scott's Pi, here the chance agreement is defined considering the two processes to be fixed. For more information see Cohen (1960).

Usage

cohen_kappa(confusion_matrix)

Arguments

confusion_matrix

Confusion matrix to be used.

Value

integer Cohen's Kappa value.


nikitagusarov/performancer documentation built on Jan. 12, 2023, 12:19 a.m.