plot.autopls {autopls} | R Documentation |
Produces plots illustrating the outcomes of autopls
:
predicted vs. observed values, errors vs. numbers of latent vectors,
regression coefficients, influences of observations regarding X and Y,
latent vectors and R2 in backward selection
## S3 method for class 'autopls' plot(x,type="all",wl=NULL,rcxlab = "Predictors", plab=FALSE, bw = FALSE, ...)
x |
object of class |
type |
specifying the type of plot. ( |
wl |
denotes an optional vector of numerical values
describing the position of predictors along the x axis in the |
rcxlab |
Label for x axis in rc plot. |
plab |
logical. Whether observations are labeled. |
bw |
logical. Whether plots are given in grey-scales (partly realized). |
... |
Arguments to be passed to methods |
Red dots in the influence plots indicate potentially dangerous outliers
Apart from the plots the function returns the underlying values
Sebastian Schmidtlein, Carsten Oldenburg
The placement of observation labels if plab = TRUE
is done using
code borrowed from the pointLabel
in maptools. The author
of this function is Tom Short (EPRI).
## load predictor and response data to the current environment data (murnau.X) data (murnau.Y) data (murnau.W) ## call autopls with the standard options model<-autopls (murnau.Y ~ murnau.X) ## plot results ## Not run: plot (model) ## use wavelengths in rc plot ## Not run: plot (model, type = "rc", wl = murnau.W, rcxlab = "Wavelength (nm)") ## predicted vs. observed ## Not run: x <- plot (model, type = "ovp") ## Not run: x