weights4class: Weighting tools

View source: R/weights4class.R

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

type

Type of weights.

See Also

Other performance: accuracy


fda.usc documentation built on Oct. 17, 2022, 9:06 a.m.