Learn R Programming

PPtreeregViz (version 2.0.5)

plot.PPTreereg: PPTreereg plot

Description

projection pursuit regression tree plot

Usage

# S3 method for PPTreereg
plot(x, font.size = 17, width.size = 1, ...)

Value

plot object

Arguments

x

PPTreereg class object

font.size

font size of plot

width.size

size of eclipse in each node.

...

arguments to be passed to methods

Details

Draw projection pursuit regression tree with tree structure. It is modified from a function in party library.

Examples

Run this code
data(dataXY)
Model <- PPTreereg(Y~., data = dataXY, DEPTH = 2)
plot(Model)

Run the code above in your browser using DataLab