case_weights {collinear} | R Documentation |
Case Weights for Unbalanced Binomial or Categorical Responses
Description
Case Weights for Unbalanced Binomial or Categorical Responses
Usage
case_weights(x = NULL)
Arguments
x |
(required, integer, character, or factor vector) binomial, categorical, or factor response variable. Default: |
Value
numeric vector: case weights
See Also
Other modelling_tools:
model_formula()
,
performance_score_auc()
,
performance_score_r2()
,
performance_score_v()
Examples
case_weights(
x = c(0, 0, 0, 1, 1)
)
case_weights(
x = c("a", "a", "b", "b", "c")
)
[Package collinear version 2.0.0 Index]