add_coarse_taxon: Add coarse taxon for complex taxon names

Description Usage Arguments Examples

View source: R/add_coarse_taxon.R

Description

Add coarse taxon for complex taxon names

Usage

1
add_coarse_taxon(data, match_file = NULL, output = "Phylum")

Arguments

data

A data frame with a column named Taxon

match_file

A data.frame with at least two columns. One of the columns must be named Taxon; the name of the other column is not restricted.

output

The name of the output column.

Examples

1
2
a <- data.frame(Taxon = c("Polychaeta", "Nematoda", "Hydrozoa"))
add_coarse_taxon(data = a, match_file = NULL, output = "Phylum")

chenyenting1998/ecomaestro documentation built on Dec. 19, 2021, 3:04 p.m.