View source: R/cohen_kappa_fun.R
cohen_kappa | R Documentation |
Custom-made function to calculate the Cohen's Kappa, which compares two vectors: the result from predict() and the actual values, i.e., the test.
cohen_kappa(predict_result, test)
predict_result |
A vector resulting from the predict function |
test |
A vector with the real values. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.