Learn R Programming

PPtreeViz (version 1.3.0)

PPclassNode.Viz: PPtree node visualization

Description

Visualization tools to explore each node of PPtree

Usage

PPclassNode.Viz(PPclassOBJ,node.id,Rule,legend,std,image,diff.prop)

Arguments

PPclassOBJ
PPregclass object
node.id
node ID
Rule
cutoff rule
legend
flag to represent legend in the plot. Default value is TRUE
std
flag to standardize data before drawing plot
image
flag to draw image plot of correlation matrix
diff.prop
percentage of number of variables with significant differences and shown in red in the bar chart style means

Details

For the inner node, four plots are provided - the bar chart style plot with projection pursuit coefficients of each variable, the histogram of the projected data, the bar chart style plots with means of each variables for the left and the right group, and the image plot of correlations.

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
PPclassNode.Viz(Tree.result,1,1)

Run the code above in your browser using DataLab