accuracy {clubpro}R Documentation

Classification accuracy for each observation.

Description

Classification accuracy for each observation.

Usage

accuracy(m)

Arguments

m

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

Details

Returns a character vector containing a string corresponding to each observation indicating whether classification of that observation was "correct", "incorrect", or "ambigous".

Value

a table

Examples

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

[Package clubpro version 0.6.2 Index]