Description Usage Arguments Details References Examples
View source: R/PPclassNodeViz.R
Visualization tools to explore each node of PPtree
1 | PPclassNodeViz(PPclassOBJ,node.id,Rule,legend,std,image,diff.prop)
|
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 |
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.
Lee, YD, Cook, D., Park JW, and Lee, EK(2013) PPtree: Projection Pursuit Classification Tree, Electronic Journal of Statistics, 7:1369-1386.
1 2 3 4 | data(iris)
Tree.result <- PPTreeclass(Species~., data = iris,"LDA")
Tree.result
PPclassNodeViz(Tree.result,1,1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.