as_factor_clocale | R Documentation |
Locale-independent factor conversion
as_factor_clocale(x)
x |
a vector |
the same vector, but with any factorial content or colums with repeating character strings converted to factors, applying a locale-independent sorting.
Only for internal application in as.traitdata()
This deals with the problem described by Kurt Hornik (here) for changes coming in R 4.0.0. In traitdataform, this concerns the locale-dependence of taxon and trait name sorting when calling published trait-datasets. For traits, the sorting order of factor levels will be superimposed by the order given in the thesaurus specification (if provided).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.