plot.PPtreeclass {PPtreeViz} | R Documentation |
projection pursuit classification tree plot
## S3 method for class 'PPtreeclass'
plot(
x,
font.size = 17,
width.size = 1,
main = "Projection Pursuit Classification Tree",
sub = NULL,
...
)
x |
PPtreeclass object |
font.size |
font size of plot |
width.size |
size of eclipse in each node. |
main |
main title |
sub |
sub title |
... |
arguments to be passed to methods |
Draw projection pursuit classification tree with tree structure. It is modified from a function in party library.
Lee, EK(2017) PPtreeViz: An R Package for Visualizing Projection Pursuit Classification Trees, Journal of Statistical Software <doi:10.18637/jss.v083.i08>
data(iris)
Tree.result <- PPTreeclass(Species~., data = iris,"LDA")
Tree.result
plot(Tree.result)