View source: R/plot.characters.R
plotCharacters | R Documentation |
The character's contribution to ordination axes are visualised as arrows.
plotCharacters(result, axes = c(1, 2), xlab = NULL, ylab = NULL,
main = NULL, xlim = NULL, ylim = NULL, col = "red", length = 0.1,
angle = 15, labels = TRUE, cex = 0.7, ...)
result |
an object of class |
axes |
x, y axes of plot. |
xlab , ylab |
a title of the respective axes. |
xlim , ylim |
numeric vectors of length 2, giving the x and y coordinates ranges. |
main |
a main title for the plot. |
col |
the colour for arrows. |
length |
length of the edges of the arrow head (in inches). |
angle |
angle from the shaft of the arrow to the edge of the arrow head. |
labels |
logical, if |
cex |
character expansion factor for labels. |
... |
further arguments to be passed to |
The distribution of samples in ordination space is driven by morphological characters. Each character has its own contribution to ordination axes. These contributions are visualised as arrows. The direction and length of the arrows characterize the impact of the morphological characters on the separation of objects along a given axis. This information is stored in eigenvectors or total canonical structure coefficients for principal component analysis of canonical discriminant analysis, respectively.
The plotCharacters
method is not applicable to results of the principal coordinates analysis (pcoa.calc
) and non-metric multidimensional scaling (nmds.calc
) analyses, as the influence of original characters on new axes can not be directly derived, and variation explained by individual axes is unknown.
None. Used for its side effect of producing a plot.
data(centaurea)
centaurea = naMeanSubst(centaurea)
centaurea = removePopulation(centaurea, populationName = c("LIP", "PREL"))
pcaRes = pca.calc(centaurea)
plotCharacters(pcaRes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.