Learn R Programming

OneR (version 2.2)

is.OneR: Test OneR model objects

Description

Test if object is a OneR model.

Usage

is.OneR(x)

Arguments

x
object to be tested.

Value

a logical whether object is of class "OneR".

References

https://github.com/vonjd/OneR

Examples

Run this code
model <- OneR(iris)
is.OneR(model) # evaluates to TRUE

Run the code above in your browser using DataLab