ord_labels: Make Ordination Axis Labels

Description Usage Arguments Details Value

View source: R/ord_labels.R

Description

Makes ordination axis labels that include, if apprpriate, the % total variance explained by each axis.

Usage

1

Arguments

ord

A vegan ordination object.

Details

If there are no eigenvalues in ord, or if any eigenvalues are less than 0, each element of the vector returned has the form "DIMn" where N is the axis number. Otherwise, each element of the vector returned has the form "AxisN xx.x%" where "Axis" is taken from the vector of eigenvalues in ord if they are named or simply "DIM" if they are not, N is the number of the axis, and xx.x is the % of total variance explained by the axis.

Value

A character vector, each element of which can be used to label the corresponding axis of an ordination plot.


jfq3/QsRutils documentation built on Jan. 18, 2021, 12:40 a.m.