Last chance! 50% off unlimited learning
Sale ends in
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
"plot"(x,type="all",wl=NULL,rcxlab = "Predictors", plab=FALSE, bw = FALSE, ...)
autopls
"all"
: all plot;
"ovp"
: observed vs. predicted values;
"ovp.test"
: test set: observed vs. predicted values;
"rmse"
: internal validation errors vs. numbers of latent vectors;
"rmse.test"
: test set errors vs. numbers of latent vectors;
"rc"
: regression coefficients;
"x.inf"
: influence plot (X-variance);
"y.inf"
: influence plot (Y-variance);
"meta"
: latent vectors and R2 in backward selection)rc
plot. The values should refer to all bands (before backward selection) or
to the bands that are actually used.autopls
## 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
Run the code above in your browser using DataLab