setceslang | R Documentation |
Allows species names in outputs to be rendered in one of 14 languages.
setceslang(lang)
lang |
A string indicating a valid language, see details below. If no language is set most functions will default to using the scientific name |
Valid languages are "Latin", "Danish", "Dutch", "English", "Finnish", "French", "German", "Italian", "Norwegian", "Polish", "Portuguese", "Spanish", "Swedish". This is set by a call to options, use options()$ceslang
to check which language is currently set.
Sets global option 'ceslang'
Names are 'sticky', that is when an object is created, for example with extract.data
, cesr uses the language set at the time and this cannot easily be changed subsequently.
Names are case sensitive, that is they need to be capitalised.
Rob Robinson
setceslang("English")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.