unassigned_plants {fqacalc}R Documentation

Return Data Frame of Plant Species That Have No C Value

Description

Some regional FQA lists contain species which have not been assigned a C Value. unassigned_plants returns a data frame of plants in x that can be matched to a regional FQA database but have no C Value. These observations can optionally be discarded in other fqacalc functions.

Usage

unassigned_plants(x, key = "name", db)

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.

Value

A data frame

Examples

no_c_test <- data.frame(name = c("ABRONIA FRAGRANS", "ACER GLABRUM",
"ACER GRANDIDENTATUM", "ACER PLATANOIDES"))

unassigned_plants(no_c_test, key = "name", db = "montana_2017")


[Package fqacalc version 1.1.0 Index]