Learn R Programming

geomorph (version 3.0.4)

plot.procD.lm: Plot Function for geomorph

Description

Plot Function for geomorph

Usage

# S3 method for procD.lm
plot(x, type = c("diagnostics", "regression", "PC"),
  outliers = FALSE, predictor = NULL, reg.type = c("CRC", "PredLine",
  "RegScore"), ...)

Arguments

x

plot object (from procD.lm)

type

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 coavriance matrix for fitted values.

outliers

Logical argument to include outliers plot, if diagnostics are performed

predictor

An optional vector if "regression" plot type is chosen, and is a variable likely used in procD.lm. This vector is a vector of covariate values equal to the number of observations.

reg.type

If "regression" is chosen for plot type, this argument indicates whether a common regression component (CRC) plot, prediction line (Predline) plot, or regression score (RegScore) plotting is performed. These plots are the same as those available from procD.allometry without the constraint that the predictor is size.

...

other arguments passed to plot (helpful to employ different colors or symbols for different groups). See plot.default and par