species_stat {nodiv} | R Documentation |
Species statistics of nodiv
data objects
Description
Adds, or reads species statistics from objects in the nodiv
package
Usage
add_species_stat(distrib_data, species_stat, specs = NULL)
species_stat(distrib_data, statname = NULL, specs = NULL)
Arguments
distrib_data |
An object of type |
species_stat |
A species statistic, such as body size or cold tolerance. This can be a vector or a data.frame. If
|
specs |
A character or numeric variable specifying the species of interest, or for which species_stat is specified |
statname |
The name of a species statistic in the |
Value
add_species_stat
returns the object with the new species_stat inside.
species_stat
returns the named sitestatistic.
Author(s)
Michael Krabbe Borregaard