n_correct {clubpro} | R Documentation |
Number of correct classifications.
Description
Number of correct classifications.
Usage
n_correct(m)
Arguments
m |
an object of class "clubprofit" produced by |
Details
Returns the number of observations which were classified correctly by the model.
Value
an integer.
Examples
mod <- club(rate ~ dose, data = caffeine)
n_correct(mod)
[Package clubpro version 0.6.2 Index]