View source: R/cover_metrics.R
cover_FQI | R Documentation |
cover_FQI
calculates cover-weighted mean C multiplied by the square root
of species richness.
cover_FQI(
x,
key = "name",
db,
native = FALSE,
cover_class = "percent_cover",
allow_duplicates,
plot_id = NULL
)
x |
A data frame containing a list of plant species. This data frame
must have one of the following columns: |
key |
A character string representing the column that will be used to join
the input data frame |
db |
A character string representing the regional FQA database to use. See
|
native |
Boolean (TRUE or FALSE). If TRUE, calculate metrics using only native species. |
cover_class |
a character string representing the cover classification used. Acceptable
cover classes are: |
allow_duplicates |
Boolean (TRUE or FALSE). If TRUE, allow |
plot_id |
A character string representing the column in |
A non-negative number
transect <- data.frame(acronym = c("ABEESC", "ABIBAL", "AMMBRE", "ANTELE",
"ABEESC", "ABIBAL", "AMMBRE"),
cover = c(50, 4, 20, 30, 40, 7, 60),
plot_id = c(1, 1, 1, 1, 2, 2, 2))
cover_FQI(x = transect, key = "acronym", db = "michigan_2014",
native = FALSE, allow_duplicates = TRUE, plot_id = "plot_id")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.