compare: Compare to vectors of taxon names for matching genus

compareR Documentation

Compare to vectors of taxon names for matching genus

Description

The function compares one vector of taxa names against a second and returns if at least the genus is matching.

Usage

compareGenus(x, y, stop)

Arguments

x

a character.

y

a character.

stop

number of characters to match, if missing equals number of characters of respective genus.

Value

logical.

Author(s)

Roland Kaiser

See Also

linktaxa

Examples

compareGenus(x = "Bellis perennis", y = "Aster bellis")
compareGenus(x = "Bellis perennis var. fagetorum", y = "Bellis perennis var. hybrida")

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