summary_fe_species: Generic Summary for *fe_species* Objects

View source: R/fe_species_generic_methods.R

summary_fe_speciesR Documentation

Generic Summary for fe_species Objects

Description

Produces a summary for a fe_species object in the same style as R does factors. Actually, after some conversions summary.factor is called by this function. The species naming in the summary depends on the parameter spec_lang.

Usage

summary_fe_species(
  x,
  spec_lang = c("code", "eng", "ger", "sci"),
  maxsum = 100L
)

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.

maxsum

Same as parameter maxsum in summary.factor

Value

A named vector in the same style as returned by summary.factor


ForestElementsR documentation built on April 3, 2025, 7:47 p.m.