
Compute Cramer's V between categorical observations and predictions
Source:R/score_cramer.R
score_cramer.RdInternal function to compute the Cramer's V of categorical observations versus categorical model predictions. Please read the help file of cor_cramer() for further details.
Arguments
- o
(required; character vector) categorical observations. Default: NULL
- p
(required; character vector) categorical predictions. Default: NULL
- ...
(optional) Internal args (e.g.
function_nameforvalidate_arg_function_name, a precomputed correlation matrixm, or cross-validation args forpreference_order).
See also
Other modelling_tools:
case_weights(),
model_formula(),
score_auc(),
score_r2()