Description Usage Arguments Value See Also
View source: R/MICE_initialization.R
Reads two files (input_params.csv, which holds most of the input parameters, and diet_prefs.csv, which holds predator by species dietary preferences) into two data frames, and loads the data frames into an object of class simulationParams.
1 | set_simParam(params, inputdir, scenario, nYears, nSteps)
|
params |
A simulationParams object. |
scenario |
Character string; a scenario name (must match the name in input_params.csv) |
nYears |
Integer. Number of years to simulate. |
nSteps |
Integer. Number of timesteps per year. |
... |
Other arguments. |
A modified simParams object, with values filled from the file.
simulationParams
Other initialization: calibrate
,
distribute_byage
,
distribute_bytimestep
,
initialize_N
,
solve_age0_survival
Other parameter setting: get_params
,
get_prefs
, initialize_N
,
set_species
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.