plot.edr {EDR} | R Documentation |
Illustrate the fitted model within the estimated one or two-dimensional effective dimension reduction (EDR) space.
plot.edr(x, m = 1, ylab = "Y", title = "", sm = require(sm), ...)
x |
Object of class "edr" . |
m |
Dimension of the effective dimension reduction (EDR) space. m=1
corresponds to single index models, m>1 specifies a multiindex model.
Values of m>2 are currently not allowed. |
ylab |
Label for the response variable. |
title |
Optional title. |
sm |
If sm==TRUE nonparametric regression is performed
within the m-dimensional EDR using function sm.regression from
package sm . If sm==FALSE or require(sm)==FALSE
oversmoothed fitted values calculated within function edr are used
for visualisation. |
... |
Additional parameters will be passed to plot in case of m=1 and
to image if m=2 . |
Returns invisible{NULL}
.
Joerg Polzehl, polzehl@wias-berlin.de
edr
, edr.R
, print.edr
, summary.edr
require(EDR) ## Not run: demo(edr_ex1) ## Not run: demo(edr_ex2)