mean_c {fqacalc} | R Documentation |
Calculate Mean C
Description
mean_c
calculates the mean coefficient of conservatism for all species in the inventory
or along the transect.
Usage
mean_c(x, key = "name", db, native = FALSE)
Arguments
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. |
Value
A non-negative integer
Examples
plant_list <- crooked_island
#mean c of all species (native and introduced)
mean_c(x = plant_list, key = "acronym", db = "michigan_2014", native = FALSE)
#mean c of native species
mean_c(x = plant_list, key = "acronym", db = "michigan_2014", native = TRUE)