calcBMWP: Calculate BMWP indices for invertebrate samples

View source: R/wrappers.r

calcBMWPR Documentation

Calculate BMWP indices for invertebrate samples

Description

Calculates BMWP, ASPT and N-taxa index values for invertebrate samples.

Usage

calcBMWP(df, type = "num")

Arguments

df

A dataframe containing list of taxa in first column, followed by columns of abundances with sample names in header row.

type

Indicates format of data. Options are "num" for numeric data, "log" for integer log abundance categories (1-5) or "alpha" for alphabetic abundance categories (A-E). Default value is "num".

Value

A data frame consisting of columns of index values with samples in rows.

Examples


# calculate the BMWP indices for the River Almond dataset
# 'type' not specified as data are numeric abundances

calcBMWP(almond)

robbriers/biotic documentation built on April 22, 2022, 1:53 a.m.