set_simParam: Set parameter values in a simulationParams object.

Description Usage Arguments Value See Also

View source: R/MICE_initialization.R

Description

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.

Usage

1
set_simParam(params, inputdir, scenario, nYears, nSteps)

Arguments

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.

Value

A modified simParams object, with values filled from the file.

See Also

simulationParams

Other initialization: calibrate, distribute_byage, distribute_bytimestep, initialize_N, solve_age0_survival

Other parameter setting: get_params, get_prefs, initialize_N, set_species


jcpayne/mice-models documentation built on May 18, 2019, 10:25 p.m.