[Maturing] The function automates the process to check if a plant species is or not endemic to Perú.

pep_check(x)

Arguments

x

an atomic character string or a vector with the species names that will be verified if it endemic species

Value

a vector with information for each species names tested: a) "endemic" if the species is endemic of Perú; b) "not endemic" if the species is not endemic of Perú; c)"not binary name" if only the genera were submitted; d) "taxon state undefined" if the submitted species name has a taxonomic status undetermined.

Examples

# Basic usage
spp <- c("Hedyosmum", "Miconia alpina", "Persea sp2")
pep_check(spp)
#> [1] "not binary name"       "endemic"               "taxon state undefined"