abd_species {divent} | R Documentation |
Utilities for community abundances (objects of class "abundances").
abd_species(abundances, check_arguments = TRUE)
abd_sum(abundances, as_numeric = FALSE, check_arguments = TRUE)
prob_species(species_distribution, check_arguments = TRUE)
abundances |
An object of class abundances. |
check_arguments |
If |
as_numeric |
If |
species_distribution |
An object of class species_distribution. |
abd_species()
returns a tibble containing the species abundance columns only,
to simplify numeric operations.
prob_species()
returns the same tibble but values are probabilities.
abd_sum()
returns the sample sizes of the communities in a numeric vector.
abd_species(paracou_6_abd)
abd_sum(paracou_6_abd)