This function uses the sm library to draw a perspective 3D plot of two of the directions obtained by dimension reduction regression versus the response.
dr.persp(object, which=1:2, h=c(0.1, 0.1), ...)
object |
a dimension reduction regression object |
which |
a vector of two directions to use |
h |
bandwidths for smoothing passed to sm |
... |
graphical parameters passed to sm |
Returns a perspective plot
Sanford Weisberg <sandy@stat.umn.edu>