n_incorrect {clubpro}R 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)

[Package clubpro version 0.6.1 Index]