Learn R Programming

geomorph (version 3.2.1)

plot.gm.prcomp: Plot Function for geomorph

Description

Plot Function for geomorph

Usage

# S3 method for gm.prcomp
plot(
  x,
  axis1 = 1,
  axis2 = 2,
  phylo = FALSE,
  phylo.par = list(edge.color = "black", edge.width = 1, edge.lty = 1, node.bg =
    "black", node.pch = 21, node.cex = 1),
  ...
)

Arguments

x

An object of class gm.prcomp

axis1

A value indicating which PC axis should be displayed as the X-axis (default = PC1)

axis2

A value indicating which PC axis should be displayed as the Y-axis (default = PC2)

phylo

A logical value indicating whether the phylogeny should be projected to PC space

phylo.par

A list of plotting parameters for the phylogeny edges (edge.color, edge.width, edge.lty) and nodes (node.bg, node.pch, node.cex)

...

other arguments passed to plot

Value

An object of class "plot.gm.prcomp" is a list with components that can be used in other plot functions, such as the type of plot, points, a group factor, and other information depending on the plot parameters used.

NOTE: To visualize shape variation across PC axes, use picknplot.shape.

See Also

plotRefToTarget