| trollsim-class {rcontroll} | R Documentation |
A TROLL simulations
Description
trollsim() is an S4 class to represent a TROLL simulation. trollsim
values can be accessed using object attributes in the form of simple R
objects (with @). They consist of eight simulation attributes: (1) name,
(2) path to saved files, (3) parameters, (4) inputs, (5) log, (6) initial and
final state, (7) ecosystem output metrics, and (8) species output metrics.
The initial and final states are represented by a table with the spatial
position, size and other relevant traits of all trees at the start and end of
the simulation. The ecosystem and species metrics are summaries of ecosystem
processes and states, such as net primary production and aboveground biomass,
and they are documented at species level and aggregated over the entire
stand.
Value
An empty S4 trollsim() class object.
Slots
namechar. Simulation name.
pathchar. File path to the simulation.
membool. Is the simulation in memory, see
load_sim().parametersnumeric. Parameters of the simulation (general inputs).
inputslist. Simulation inputs (species, climate, daily, forest, lidar, see
stack()).logchr. Simulation log, see
get_log().forestdf. Simulation initial and final forest, see
get_forest().ecosystemdf. Ecosystem metrics.
speciesdf. Species metrics (with OUTPUT_extended option, see
generate_parameters()).laslist. List with simulated point cloud in LAS from lidar parameters (with lidar option, see
generate_lidar()). The LAS format correspond tolidR::LAS().
See Also
troll(), load_output(), trollstack()