Checks the traits spelling compared to user input.
checktrait(x, std, mindist = 0.3, error = 0.8, grp = NULL, warn = TRUE)list or string. A list, vector or string of cleaned traits names based on
the user provided and standard database traits for downloading.
string or vector. The traits to be checked for spelling errors and matching database entries.
lits. A list with standard traits names from the the database to compare with user entries.
numeric. Set a threshold for trait similarity between the user provided and that found in the database.
The lower the percentage, the higher the similarity between the user provided
and standard trait names.
numeric. Also percentage to improve the distance based checked implemented or set in
mindist parameter
grp. The taxa names checked for. see fw_searchdata.
logical To show species name warning checks and traits cleaning. Default FALSE.