Summarise total abundance and site occupancy (number of sites with non-zero counts) for each species from a site x species matrix.
Value
A data frame with columns:
Species
Species (column) name.
TotalAbundance
Column sum across sites.
Occupancy
Number of sites with abundance \(> 0\).
Examples
if (FALSE) { # \dontrun{
oa <- calculate_occupancy_abundance(abund_matrix)
head(oa)
} # }