is_ppendemic | R Documentation |
This function checks if a list of species names are endemic in the ppendemic database. Endemic species are those that are native and restricted to a specific geographic area, in this case, Peru. The function allows fuzzy matching for species names with a maximum distance threshold to handle potential typos or variations in species names.
is_ppendemic(splist, max_distance = 0.1)
splist |
A character vector containing the list of species names to be checked for endemism in the ppendemic database. |
max_distance |
A numeric value (default is 0.1) specifying the maximum distance for fuzzy matching. It should be a non-negative value. |
A character vector indicating if each species is endemic, not endemic, or if it is an endemic species found using fuzzy matching.
is_ppendemic(c("Aa aurantiaca", "Aa aurantiaaia", "Werneria nubigena"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.