ppr_funs {HoRM} | R Documentation |
Ridge Functions for Projection Pursuit Regression
Description
The portion of the plot.ppr
code that computes the ridge traces for projection pursuit regression.
Usage
ppr_funs(obj)
Arguments
obj |
A fit of class |
Details
This is just the segment of code in plot.ppr
, which calculates the ridge traces.
Value
ppr_funs
returns the evaluated ridge trace values based on output from the ppr
function.
References
Young, D. S. (2017), Handbook of Regression Methods, CRC Press.
See Also
Examples
## 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
[Package HoRM version 0.1.3 Index]