calcLIFE | R Documentation |
Calculates LIFE index values for invertebrate samples.
calcLIFE(df, type = "num")
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". |
A data frame consisting of a column of index values with samples in rows.
# calculate the LIFE index for the River Almond dataset # data are numeric abundances, so type can be omitted ("num" is default) calcLIFE(almond)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.