calcRiffPool: Calculate Whalley 'Riffle/Pool' habitat-specific BMWP indices

Description Usage Arguments Value Examples

View source: R/wrappers.r

Description

Calculates Whalley riffle/pool-specific BMWP, ASPT and N-taxa indices for invertebrate samples.

Usage

1
calcRiffPool(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

1
2
3
4
# calculate the Whalley Riffle/Pool BMWP indices for the Braid Burn dataset
# data are alphabetic log abundance categories, so type is "alpha"

calcRiffPool(braidburn, "alpha")

biotic documentation built on May 2, 2019, 4:20 a.m.