Learn R Programming

barrel (version 0.1.0)

get_ord_axis_labels: Internal function to get axis labels for vegan ordination objects

Description

This function infers the ordination method used and returns proper axis labels including percentage of explained variance when applicable.

Usage

get_ord_axis_labels(ord)

Value

A list with one element label, a character vector for axis labels. #' @examples library(vegan) data(dune) data(dune.env) ord_pca <- rda(dune) get_ord_axis_labels(ord_pca)

Arguments

ord

A vegan ordination object.