Learn R Programming

PPtreeViz (version 1.3.0)

print.PPtreeclass: Print PP.Tree.class result

Description

Print PP.Tree.class result

Usage

"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, 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
print(Tree.result,coef.print=TRUE,cutoff.print=TRUE)

Run the code above in your browser using DataLab