computes inverse probability weighting.
weights4class(x, type = c("equal", "inverse"))
A vector of the labels, true class or observed response. Can be
Type of weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.