Learn R Programming

clubpro (version 0.6.1)

n_incorrect: Number of incorrect classifications.

Description

Number of incorrect classifications.

Usage

n_incorrect(m)

Value

an integer.

Arguments

m

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

Details

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

Examples

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

Run the code above in your browser using DataLab