strip_names_extra {APCalign}R Documentation

Strip taxon names, extra

Description

Strip taxonomic names of sp. and hybrid symbols. This function assumes that a character function has already been run through strip_names.

Usage

strip_names_extra(taxon_names)

Arguments

taxon_names

A character vector of taxonomic names to be stripped.

Details

Given a vector of taxonomic names, this function removes additional filler words (" x " for hybrid taxa, "sp.") not removed by the function strip_names

Value

A character vector of stripped taxonomic names, with sp. and hybrid symbols removed.

Examples

strip_names_extra(c("Abies lasiocarpa subsp. lasiocarpa",
              "Quercus kelloggii",
              "Pinus contorta var. latifolia",
              "Acacia sp.",
              "Lepidium sp. Tanguin Hill (K.R.Newbey 10501)"))


[Package APCalign version 1.0.1 Index]