abd_species {divent} | R Documentation |
Abundances of Communities
Description
Utilities for community abundances (objects of class "abundances").
Usage
abd_species(abundances, check_arguments = TRUE)
abd_sum(abundances, as_numeric = FALSE, check_arguments = TRUE)
prob_species(species_distribution, check_arguments = TRUE)
Arguments
abundances |
An object of class abundances. |
check_arguments |
If |
as_numeric |
If |
species_distribution |
An object of class species_distribution. |
Value
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.
Examples
abd_species(paracou_6_abd)
abd_sum(paracou_6_abd)
[Package divent version 0.4-4 Index]