Metrics to evaluate classification models with R codes: Confusion Matrix, Sensitivity, Specificity, Cohen's Kappa Value, Mcnemar's Test - Data Science Vidhya
r - Agreement between raters with kappa, using tidyverse and looping functions to pivot the data (data set) - Stack Overflow