Learn R Programming

benthos (version 1.3-8)

total_abundance: 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)

Value

total number of individuals (integer)

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)

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

Run this code
 total_abundance(count = c(4, 6))
     

Run the code above in your browser using DataLab