ppr_funs | R Documentation |
The portion of the plot.ppr
code that computes the ridge traces for projection pursuit regression.
ppr_funs(obj)
obj |
A fit of class |
This is just the segment of code in plot.ppr
, which calculates the ridge traces.
ppr_funs
returns the evaluated ridge trace values based on output from the ppr
function.
Young, D. S. (2017), Handbook of Regression Methods, CRC Press.
ppr
, plot.ppr
## Projection pursuit regression on the rock dataset.
data(rock)
ppr.out <- ppr(log(perm) ~ area + peri + shape,
data = rock, nterms = 2, max.terms = 5)
obj <- ppr_funs(ppr.out)
obj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.