PPtreeViz (version 2.0.4)

plot.PPtreeclass: PPtree plot

Description

projection pursuit classification tree plot

Usage

# S3 method for PPtreeclass
plot(
  x,
  font.size = 17,
  width.size = 1,
  main = "Projection Pursuit Classification Tree",
  sub = NULL,
  ...
)

Arguments

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

Details

Draw projection pursuit classification tree with tree structure. It is modified from a function in party library.

References

Lee, EK(2017) PPtreeViz: An R Package for Visualizing Projection Pursuit Classification Trees, Journal of Statistical Software <doi:10.18637/jss.v083.i08>

Examples

Run this code
# NOT RUN {
data(iris)
Tree.result <- PPTreeclass(Species~., data = iris,"LDA")
Tree.result
plot(Tree.result)
# }

Run the code above in your browser using DataCamp Workspace