Learn R Programming

dr (version 1.0.2)

dr.persp: Produce a perspective plot of dimension reduction regression objects.

Description

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.

Usage

dr.persp(object, which=1:2, h=c(0.1, 0.1), ...)

Arguments

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

Value

  • Returns a perspective plot

See Also

dr, sm