# Next code fails since TomekLinks method is designed for two-class problems.
# Some decomposition strategy like OVO or OVA could be used to overcome this.
## Not run:
# data(iris)
# out <- TomekLinks(Species~., data = iris)
# ## End(Not run)
Run the code above in your browser using DataLab