Learn R Programming

OneR (version 2.2)

print.OneR: Print OneR models

Description

print method for class OneR.

Usage

# S3 method for OneR
print(x, ...)

Arguments

x
object of class "OneR".
...
further arguments passed to or from other methods.

Details

Prints the rules and the accuracy of an OneR model.

References

https://github.com/vonjd/OneR

See Also

OneR

Examples

Run this code
model <- OneR(iris)
print(model)

Run the code above in your browser using DataLab