plot.OneR {OneR}R Documentation

Plot Diagnostics for an OneR object

Description

Plots a mosaic plot for the feature attribute and the target of the OneR model.

Usage

## S3 method for class 'OneR'
plot(x, ...)

Arguments

x

object of class "OneR".

...

further arguments passed to or from other methods.

Details

If more than 20 levels are present for either the feature attribute or the target the function stops with an error.

Author(s)

Holger von Jouanne-Diedrich

References

https://github.com/vonjd/OneR

See Also

OneR

Examples

model <- OneR(iris)
plot(model)

[Package OneR version 2.2 Index]