Plot Function for RRPP
# S3 method for lm.rrpp
plot(
x,
type = c("diagnostics", "regression", "PC"),
predictor = NULL,
reg.type = c("PredLine", "RegScore"),
...
)
plot object (from lm.rrpp
)
Indicates which type of plot, choosing among diagnostics,
regression, or principal component plots. Diagnostic plots are similar to
lm
diagnostic plots, but for multivariate data. Regression plots
plot multivariate dispersion in some fashion against predictor values. PC plots
project data onto the eigenvectors of the covariance matrix for fitted values.
An optional vector if "regression" plot type is chosen,
and is a variable likely used in lm.rrpp
.
This vector is a vector of covariate values equal to the number of observations.
If "regression" is chosen for plot type, this argument indicates whether prediction line (PredLine) or regression score (RegScore) plotting is performed. For explanation of prediction line, see Adams and Nistri (2010). For explanation of regression score, see Drake and Klingenberg (2008).
other arguments passed to plot (helpful to employ
different colors or symbols for different groups). See
plot.default
and par
Drake, A. G., and C. P. Klingenberg. 2008. The pace of morphological change: Historical transformation of skull shape in St Bernard dogs. Proc. R. Soc. B. 275:71-76.
Adams, D. C., and A. Nistri. 2010. Ontogenetic convergence and evolution of foot morphology in European cave salamanders (Family: Plethodontidae). BMC Evol. Biol. 10:1-10.