add_coarse_taxon: Add coarse taxon for complex taxon names

View source: R/add_coarse_taxon.R

add_coarse_taxonR Documentation

Add coarse taxon for complex taxon names

Description

Add coarse taxon for complex taxon names

Usage

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 and shall be passed to the output arguement.

output

The name of the output column.

Examples

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

chenyenting1998/GRSPRSThesisData documentation built on March 19, 2022, 8:35 a.m.