| score_cramer | R Documentation |
Internal 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.
score_cramer(o = NULL, p = NULL, ...)
o |
(required; character vector) categorical observations. Default: NULL |
p |
(required; character vector) categorical predictions. Default: NULL |
... |
(optional) Internal args (e.g. |
numeric: Cramer's V
Other modelling_tools:
case_weights(),
model_formula(),
score_auc(),
score_r2()
score_cramer(
o = c("a", "a", "b", "c", "c"),
p = c("a", "b", "b", "c", "c")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.