strip: Manipulate taxon string

stripR Documentation

Manipulate taxon string

Description

The functions translate taxon strings by stripping of common taxonomic markups such as s.lat. and s.str. as well as orthographic variants thereof.

Usage

stripAll(x)
stripAffinis(x, y)
stripSensuLato(x, y)
stripSensuStricto(x, y)

Arguments

x

a character.

y

strings to be matched, if missing sensible defaults apply.

Details

Call functions without arguments to see which strings are going to be removed from taxon names for a particular function. Note, stripAll returns the nominant species name (Genus species).

Value

character.

Author(s)

Roland Kaiser

See Also

isWhat

Examples

x <- c("Quercus cf. pubescens",
    "Quercus pubescens s.lat.",
    "Quercus pubescens s.str")

stripAffinis()
stripAffinis(x)

stripSensuLato()
stripSensuLato(x)

stripSensuStricto()
stripSensuStricto(x)

stripAll()
stripAll(x)

kardinal-eros/linktaxa documentation built on Jan. 13, 2024, 9:15 p.m.