new_fe_yield_table {ForestElementsR}R 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)
  )


[Package ForestElementsR version 2.1.0 Index]