setceslang: Set language for printing species names

View source: R/setceslang.R

setceslangR Documentation

Set language for printing species names

Description

Allows species names in outputs to be rendered in one of 14 languages.

Usage

setceslang(lang)

Arguments

lang

A string indicating a valid language, see details below. If no language is set most functions will default to using the scientific name

Details

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.

Value

Sets global option 'ceslang'

Warning

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.

Note

Names are case sensitive, that is they need to be capitalised.

Author(s)

Rob Robinson

Examples

setceslang("English")

btorobrob/cesr documentation built on June 9, 2025, 5:39 a.m.