# Create an fe_species_bavrn_state object
spec_ids <- fe_species_bavrn_state(
as.character(c(10, 30, 20, 40, 50, 60, 87, 63, 73, 72, 86, 80))
)
# Display in default style, scientific names, English, and German names
format(spec_ids)
format(spec_ids, spec_lang = "sci")
format(spec_ids, spec_lang = "eng")
format(spec_ids, spec_lang = "ger")
# Usual application: Set option for species code output
# Any print of an fe_species object will use the last setting of the option
options(fe_spec_lang = "sci")
spec_ids
Run the code above in your browser using DataLab