Write command file for launching samsara2 software and prepare plot
Source:R/pre_simu_cmd_file.R
prepare_samsara.Rd
Write command file for launching samsara2 software and prepare plot
Usage
prepare_samsara(
create_periphery = TRUE,
create_saplings = TRUE,
range_dbh = c(as.numeric(getOption("mart_recdbh")), 92.5),
inv_year = as.numeric(getOption("mart_year")),
inv_mindbh = as.numeric(getOption("mart_recdbh")),
simulation_year_step = 1,
verbose = FALSE
)
Arguments
- create_periphery
Creation of the periphery of the plot. TRUE by default. Must be TRUE for the first simulation, and FALSE later to speed up simulations
- create_saplings
Creation of the saplings of the plot. TRUE by default. Must be TRUE for the first simulation, and FALSE later to speed up simulations
- range_dbh
range of dbh for tree diameter classes.
- inv_year
year of the inventory. Used to define the starting year of simulations. Value retrievedfrom inventory file.
- inv_mindbh
inventory minimum dbh. Value retrieved from inventory file.
- simulation_year_step
Simulation year step, value by default is 1.
- verbose
Print messages or not.