new_fe_species: Generic Constructor for *fe_species* Objects

View source: R/fe_species_generic_methods.R

new_fe_speciesR Documentation

Generic Constructor for fe_species Objects

Description

Generic Constructor for fe_species Objects

Usage

new_fe_species(x = character(), class_name)

Arguments

x

A character vector

class_name

Name of the class to be created. Must be one of the supported names (first column of data species_codings with the prefix "fe_species_")

Value

An object of class class_name if x is character and class_name is among the supported names. Otherwise, the function terminates with an error.


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