Learn R Programming

ForestElementsR (version 2.0.1)

format_fe_species: Generic Formatted Output for fe_species Objects

Description

Generic Formatted Output for fe_species Objects

Usage

format_fe_species(x, spec_lang = c("code", "eng", "ger", "sci"))

Value

A character vector either displaying the original species codes provided in x, or the species (group) names in the desired language

Arguments

x

Object of one of the supported fe_species_ classes

spec_lang

Choice of how species (group) names or id's are displayed. Supported choices are "code" (default, displays the species codes as they are), "eng" (English species names), "ger" (German species names), and "sci" (scientific species names). The names and the codes refer to the species coding given in the object's attribute species_coding.