Learn R Programming

clubpro (version 0.6.1)

n_correct: Number of correct classifications.

Description

Number of correct classifications.

Usage

n_correct(m)

Value

an integer.

Arguments

m

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

Details

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

Examples

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

Run the code above in your browser using DataLab