new_fe_yield_table: Constructor for the *fe_yield_table* Class

View source: R/fe_yield_table.R

new_fe_yield_tableR Documentation

Constructor for the fe_yield_table Class

Description

Provided for expert users only who know exactly what they are doing. Other users please take the function fe_yield_table for creating an object of that class.

Usage

new_fe_yield_table(x = list())

Arguments

x

An appropriate list object

Value

An object of class fe_yield_table

Examples

  # Some highly motivated object, even a list
  x <- list(my_dream = "I want to be a yield table!")
  x <- new_fe_yield_table(x) # let's help the guy
  is_fe_yield_table(x)       # nice - it worked?!

  # But here's the error. That's why you should not use the bare constructor
  # if you don't know what you are doing.
  try(
    validate_fe_yield_table(x)
  )


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