mean_w | R Documentation |
mean_w
calculates the mean wetness coefficient for all species in
the site assessment. The wetness coefficient is based on wetland indicator
status. Negative wetness coefficients indicate a stronger affinity for wetlands, while
positive wetness coefficients indicate an affinity for uplands.
mean_w(x, key = "name", db, native = FALSE, allow_no_c = TRUE)
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. |
allow_no_c |
Boolean (TRUE or FALSE). If TRUE, allow species that are found in the regional FQA database but have not been assigned a C Values. If FALSE, omit species that have not been assigned C Values. |
A non-negative integer
plant_list <- crooked_island
#mean wetness of all species (native and introduced)
mean_w(x = plant_list, key = "acronym", db = "michigan_2014", native = FALSE)
#mean wetness of native species
mean_w(x = plant_list, key = "acronym", db = "michigan_2014", native = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.