Description Usage Arguments Value Author(s) Examples
Species are ranked by abundance separately for each level of the grouping variable.
1 | spec.ranks(df, gv)
|
df |
Community data matrix with species as columns and sites as rows. |
gv |
Grouping variable, a vector with one entry corresponding to each row of the data. Currently accepts a dataframe without warning, grouping by every combination of levels. |
A list of dataframes containing the rank abundances, one for each level of the grouping variable.
Tamara Hartke
1 2 3 4 | library(vegan)
data(dune)
data(dune.env)
dune_ranks <- spec.ranks(dune, dune.env$Use)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.