suggest.names {flora} | R Documentation |
Suggest a valid name from a misspelled one
Description
This function tries to suggest a valid name according to the Brazilian Flora Checklist using a possibly incorrect one as a starting point.
Usage
suggest.names(taxon, max.distance = 0.75, return.na = TRUE,
ignore.words = NULL)
Arguments
taxon |
a character vector containing a single name |
max.distance |
a numeric value indicating how conservative the function should be when searching for suggestions. Values close to 1 are very conservative |
return.na |
a logical indicating whether to return a |
ignore.words |
|
Value
A character vector or NA
Examples
## Not run:
suggest.names("Cofea arabyca")
suggest.names("Myrcia bela")
## End(Not run)
[Package flora version 0.3.4 Index]