# \donttest{
library("evtree")
library("r2pmml")
data(iris)
iris.party = evtree(Species ~ ., data = iris,
control = evtree.control(max_depth = 3))
iris.party = decorate(iris.party)
# Please uncomment the next line
#r2pmml(iris.party, file.path(tempdir(), "Iris-Party.pmml"))
# }
Run the code above in your browser using DataLab