case_weights | R Documentation |
Case Weights for Unbalanced Binomial or Categorical Responses
case_weights(x = NULL)
x |
(required, integer, character, or factor vector) binomial, categorical, or factor response variable. Default: |
numeric vector: case weights
Other modelling_tools:
model_formula()
,
performance_score_auc()
,
performance_score_r2()
,
performance_score_v()
case_weights(
x = c(0, 0, 0, 1, 1)
)
case_weights(
x = c("a", "a", "b", "b", "c")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.