refdb_clean_tax_NA {refdb} | R Documentation |
Convert missing taxonomic names to NA
Description
Convert missing taxonomic names to NA
Usage
refdb_clean_tax_NA(x, cols = NULL, hybrid = TRUE, uncertain = FALSE)
Arguments
x |
a reference database. |
cols |
an optional vector of column names.
If |
hybrid |
hybrids are converted to NA (default |
uncertain |
taxa with qualifiers of uncertainty (cf., aff., etc.)
are converted to NA (default |
Value
A reference database.
Examples
lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb"))
lib <- refdb_set_fields_BOLD(lib)
refdb_clean_tax_NA(lib)
[Package refdb version 0.1.1 Index]