powered by
Case Weights for Unbalanced Binary Response
case_weights(x = NULL)
A vector with a length equal to x with case weights.
x
(required, integer vector) Binary response with 1s and 0s. Default: NULL
NULL
if(interactive()){ case_weights( x = c(0, 0, 0, 1, 1) ) }
Run the code above in your browser using DataLab