plot.dr.Rd
Plots selected direction vectors determined by a dimension reduction regression fit.
By default, the pairs
function is used for plotting, but the user can use any
other graphics command that is appropriate.
# S3 method for class 'dr'
plot(x, which = 1:x$numdir, mark.by.y = FALSE, plot.method = pairs, ...)
The name of an object of class dr, a dimension reduction regression object
selects the directions to be plotted
if TRUE, color points according to the value of the response, otherwise, do not color points but include the response as a variable in the plot.
the name of a function for the plotting. The default is pairs
.
arguments passed to the plot.method.
Returns a graph.