total_abundance: Total Abundance

View source: R/indicators.R

total_abundanceR Documentation

Total Abundance

Description

The total number of individuals.

Usage

total_abundance(.data = NULL, count, na.rm = FALSE)

total_abundance_(.data = NULL, count, na.rm = FALSE)

lnn(.data = NULL, count, na.rm = FALSE)

lnn_(.data = NULL, count, na.rm = FALSE)

Arguments

.data

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

count

counts (numeric)

na.rm

Should missing values (including NaN) be removed? (logical)

Value

total number of individuals (integer)

Functions

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

  • lnn(): natural log of total abundance + 1 (see package lazyeval).

  • lnn_(): version of lnn suitable for calling from a function (see package lazyeval).

Examples

 total_abundance(count = c(4, 6))
     

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