summary.OneR {OneR} | R Documentation |
summary
method for class OneR
.
## S3 method for class 'OneR'
summary(object, ...)
object |
object of class |
... |
further arguments passed to or from other methods. |
Prints the rules of the OneR model, the accuracy, a contingency table of the feature attribute and the target and performs a chi-squared test on this table.
In the contingency table the maximum values in each column are highlighted by adding a '*', thereby representing the rules of the OneR model.
Holger von Jouanne-Diedrich
model <- OneR(iris)
summary(model)