Learn R Programming

PPtreeViz (version 1.1.0)

plot.PPtreeclass: PPtree plot

Description

projection pursuit classification tree plot

Usage

## S3 method for class 'PPtreeclass':
plot(x, font.size = 17, width.size = 1, ...)

Arguments

x
PPtreeclass object
font.size
font size of plot
width.size
size of eclipse in each node.
...
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, YD, Cook, D., Park JW, and Lee, EK(2013) PPtree: Projection pursuit classification tree, Electronic Journal of Statistics, 7:1369-1386.

Examples

Run this code
data(iris)
Tree.result <- PP.Tree.class(iris[,5],iris[,1:4],"LDA")
Tree.result
plot(Tree.result)

Run the code above in your browser using DataLab