print.PPtreeclass {PPtreeViz} | R Documentation |
Print PP.Tree.class result
Description
Print PP.Tree.class result
Usage
## S3 method for class 'PPtreeclass'
print(x, coef.print = FALSE, cutoff.print = FALSE, verbose = TRUE, ...)
Arguments
x |
PPtreeclass object |
coef.print |
print projection coefficients in each node ifTRUE |
cutoff.print |
print cutoff values in each node if TRUE |
verbose |
print if TRUE, no output if FALSE |
... |
arguments to be passed to methods |
Details
Print the projection pursuit classification tree result
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
data(iris)
Tree.result <- PPTreeclass(Species~.,data = iris,"LDA")
Tree.result
print(Tree.result,coef.print=TRUE,cutoff.print=TRUE)
[Package PPtreeViz version 2.0.4 Index]