computes inverse probability weighting.
weights4class(x, type = c("equal", "inverse"))
A vector of the labels, true class or observed response. Can be
numeric, character, or factor
Type of weights.
Looks like there are no examples yet.