Description Usage Arguments Details Value Author(s)
View source: R/post.recover.state.R
It adds dead and removed trees to tr. This is an internal function that should not be run, in general, by a regular user.
1 | recover.state(tr, dead.trees, removed.trees)
|
tr |
A trList class object. |
dead.trees |
A trListDead class object. |
removed.trees |
A trListDead class object. |
In order to make calculations easier and lighter memory wise, at each cycle (period) of the simulation all removed (harvested) and dead trees are removed from tr, which only keeps alive trees at the current period. Once the simulation is finished recover.state returns all dead and removed trees to the last tr, so sitree can return a full list, including all trees alive at any point during the simulation, of trees.
A trList class object.
Clara Anton Fernandez caf@nibio.no
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.