Description Usage Arguments Value Examples
Calculates the Costa Rican version of the BMWP freshwater invertebrate biotic index.
1 | calcBMWP_CR(df, type = "num")
|
df |
A dataframe containing list of taxon names and their abundances
in samples, along with sample identifiers. Default format is for taxon
names to be in the first column and sample abundances in subsequent
columns with identifers as column headers. See built-in |
type |
Indicates type of data being processed. 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". |
A data frame consisting of columns of index values with samples in rows.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # calculate the Costa Rican version of the BMWP index for
# the built in 'almond' dataset
# 'type' does not have to specified as default is used
# ("num")
calcBMWP_CR(almond)
# example of processing data in alphabetic log abundance categories
# using the 'type' argument
# 'braidburn' dataset contains alphabetic log category data
# see ?braidburn for details
# calculate the Costa Rican BMWP index for this dataset
calcBMWP_CR(braidburn, "alpha")
# example of processing data in numeric log abundance categories
# using the 'type' argument
# 'greenburn' dataset contains numeric log category data
# see ?greenburn for details
# calculate the Costa Rican BMWP index for this dataset
calcBMWP_CR(greenburn, "log")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.