n_incorrect: Number of incorrect classifications.

View source: R/utility.R

n_incorrectR Documentation

Number of incorrect classifications.

Description

Number of incorrect classifications.

Usage

n_incorrect(m)

Arguments

m

an object of class "clubprofit" produced by club()

Details

Returns the number of observations which were classified incorrectly by the model.

Value

an integer.

Examples

mod <- club(rate ~ dose, data = caffeine)
n_incorrect(mod)

clubpro documentation built on June 22, 2024, 9:41 a.m.