Skip to contents

Percentage of correct classifications.

Usage

pcc(m)

Arguments

m

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

Value

a numeric value.

Details

Returns the percentage of correctly classified observations.

Examples

mod <- club(rate ~ dose, data = caffeine)
pcc(mod)
#> [1] 60