abundance: Abundance

View source: R/indicators.R

abundanceR Documentation

Abundance

Description

The number of indiviuals in each taxon.

Usage

abundance(.data = NULL, taxon = NULL, count)

abundance_(.data = NULL, taxon = NULL, count)

Arguments

.data

data in a data.frame, tibble, data.table, database etc.

taxon

name of column in .data containing taxa

count

name of column in .data containing counts

Value

numeric vector with abundance per taxon.

Functions

  • abundance_(): version suitable for calling from a function (see package lazyeval).

Note

due to pooling, the abundance is not necessarily an integer

Examples

 abundance(
     taxon = c("Euspira pulchella", "Nephtys cirrosa"), 
     count = c(4, 6)
 )

benthos documentation built on Aug. 22, 2022, 5:07 p.m.