Learn R Programming

vwr (version 0.3.0)

ldknn.odds: Compute the odds of correctly predicting a response

Description

Perform a logistic regression to compute the odds of correctly predicting a particular response. Used internally by ldknn.run. Not intended for separate use

Usage

ldknn.odds(type, probability, reference)

Arguments

type
A factor corresponding to the true class for each response.
probability
Probability of the reference level response.
reference
A character string corresponding to the reference level.

See Also

ldknn