Skip to contents

Plot classification accuracy.

Usage

# S3 method for clubprofit
plot(x, ...)

Arguments

x

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

...

ignored

Value

called for side-effects only

Details

Produces bar plot showing counts of individuals against observed values within each target grouping. Fill colours indicate whether each individual was classified correctly, incorrectly or ambiguously.

Examples

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