View source: R/cover_metrics.R
| transect_summary | R Documentation | 
transect_summary calculates and prints a summary of both inventory
metrics and cover-weighted metrics, including Species Richness, Native Species
Richness, Introduced Species Richness, % of species within C value ranges,
Mean C, Native Mean C, Cover-weighted Mean C, Native Cover-Weighted Mean C,
Total FQI, Native FQI, Cover-Weighted FQI, Native Cover-weighted FQI, Adjusted
FQI, Mean Wetness, Native Mean Wetness and % Hydrophytes. Cover-weighted
metrics allow duplicate entries for transect level summary metrics.
transect_summary(
  x,
  key = "name",
  db,
  cover_class = "percent_cover",
  allow_no_c = TRUE,
  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
  | 
cover_class | 
 a character string representing the cover classification used. Acceptable
cover classes are:   | 
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.  | 
plot_id | 
 A character string representing the column in   | 
A data frame
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))
transect_summary(x = transect, key = "acronym", db = "michigan_2014",
plot_id = "plot_id")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.