Learn R Programming

EDR (version 0.6-7)

plot.edr: Plot results produced by function edr.

Description

Illustrate the fitted model within the estimated one or two-dimensional effective dimension reduction (EDR) space.

Usage

# S3 method for edr
plot(x, m = 1, ylab = "Y", title = "", sm = TRUE, ...)

Arguments

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 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.

Value

Returns invisible{NULL}.

References

M. Hristache, A. Juditsky, J. Polzehl and V. Spokoiny (2001). Structure adaptive approach for dimension reduction, The Annals of Statistics. Vol.29, pp. 1537-1566. \ J. Polzehl, S. Sperlich (2009). A note on structural adaptive dimension reduction, J. Stat. Comput. Simul.. Vol. 79 (6), pp. 805--818. \

See Also

edr, edr.R, print.edr, summary.edr

Examples

Run this code
# NOT RUN {
require(EDR)
# }
# NOT RUN {
demo(edr_ex1)
# }
# NOT RUN {
demo(edr_ex2)
# }

Run the code above in your browser using DataLab