Learn R Programming

benthos (version 1.3-4)

abundance: 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, data_frame, 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).

Examples

Run this code
# NOT RUN {
 abundance(
     taxon = c("Euspira pulchella", "Nephtys cirrosa"), 
     count = c(4, 6)
 )
# }

Run the code above in your browser using DataLab