fda.usc (version 2.0.2)

weights4class: 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 numeric, character, or factor

type

Type of weights.

See Also

Other performance: accuracy