weights4class

Weighting tools

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

Aliases
  • weights4class
Documentation reproduced from package fda.usc, version 2.0.2, License: GPL-2

Community examples

Looks like there are no examples yet.