print.ODT {ODRF}R Documentation

print ODT result

Description

Print the oblique decision tree structure.

Usage

## S3 method for class 'ODT'
print(x, projection = FALSE, cutvalue = FALSE, verbose = TRUE, ...)

Arguments

x

An object of class ODT.

projection

Print projection coefficients in each node if TRUE.

cutvalue

Print cutoff values in each node if TRUE.

verbose

Print if TRUE, no output if FALSE.

...

Arguments to be passed to methods.

Value

The oblique decision tree structure.

References

Lee, EK(2017) PPtreeViz: An R Package for Visualizing Projection Pursuit Classification Trees, Journal of Statistical Software.

See Also

ODT

Examples

data(iris)
tree <- ODT(Species ~ ., data = iris)
tree
print(tree, projection = TRUE, cutvalue = TRUE)


[Package ODRF version 0.0.4 Index]