envfit_table: Produce a data frame from an envfit object

View source: R/envfit_table.R

envfit_tableR Documentation

Produce a data frame from an envfit object

Description

Produces an organized data frame from an envfit object

Usage

envfit_table(ord, env, round_digits = 2, clean_var_names = FALSE, ...)

Arguments

ord

An ordination object or other structure from which the ordination scores can be extracted (including a data frame or matrix of scores). See envfit.

env

Data frame, matrix or vector of environmental variables. The variables can be of mixed type (factors, continuous variables) in data frames. See envfit.

round_digits

integer giving the number of digits R2 and PC values should be rounded to.

clean_var_names

logical indicating whether variable names should be tidied up. Useful for exporting the table to publications.

...

other arguments to be passed to envfit

Value

Returns a data frame

Author(s)

Mikko Vihtakari


MikkoVihtakari/veganUtils documentation built on May 3, 2023, 9:58 a.m.