new_fe_species {ForestElementsR}R 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.


[Package ForestElementsR version 2.1.0 Index]