as.party.ODT {ODRF} | R Documentation |
ODT
as party
Description
To make ODT
object to objects of class party
.
Usage
## S3 method for class 'ODT'
as.party(obj, data, ...)
Arguments
obj |
An object of class |
data |
Training data of class |
... |
Arguments to be passed to methods |
Value
An objects of class party
.
References
Lee, EK(2017) PPtreeViz: An R Package for Visualizing Projection Pursuit Classification Trees, Journal of Statistical Software.
See Also
Examples
data(iris)
tree <- ODT(Species ~ ., data = iris)
tree
plot(tree)
party.tree <- as.party(tree, data = iris)
party.tree
plot(party.tree)
[Package ODRF version 0.0.4 Index]