weights4class {fda.usc} | R Documentation |
Weighting tools
Description
computes inverse probability weighting.
Usage
weights4class(x, type = c("equal", "inverse"))
Arguments
x |
A vector of the labels, true class or observed response. Can be |
type |
Type of weights. |
See Also
Other performance:
accuracy
[Package fda.usc version 2.1.0 Index]