all_metrics: Print a Summary of Non-Weighted FQA Metrics

View source: R/fqi_metrics.R

all_metricsR Documentation

Print a Summary of Non-Weighted FQA Metrics

Description

all_metrics calculates and prints a summary of all non cover-weighted metrics, including Species Richness, Native Species Richness, Introduced Species Richness, % of species within C value ranges, Mean C, Native Mean C, Total FQI, Native FQI, Adjusted FQI, Mean Wetness, Native Mean Wetness and % Hydrophytes.

Usage

all_metrics(x, key = "name", db, allow_no_c = TRUE)

Arguments

x

A data frame containing a list of plant species. This data frame must have one of the following columns: name or acronym. For cover-weighted or relative functions, this data frame must also have a column called cover containing cover values and ideally a column containing plot IDs.

key

A character string representing the column that will be used to join the input data frame x with the regional FQA database. If a value is not specified, the default is "name". "name" and "acronym" are the only acceptable values for key.

db

A character string representing the regional FQA database to use. See db_names for a list of potential values and the fqadata R package where the databases are hosted.

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.

Value

A data frame

Examples

plant_list <- crooked_island
all_metrics(x = plant_list, key = "acronym", db = "michigan_2014")

fqacalc documentation built on Sept. 26, 2023, 5:10 p.m.