Carries out the numerical integration of the Rsim alogrithms.

rsim.run(Rsim.scenario, method = "RK4", years = 1:100)

Arguments

Rsim.scenario

Scenario object that contains all of the rsim rates and forcing functions generated by rsim.scenario.

method

Numerical integration method. Either 'AB' for Adams-Bashforth or 'RK4' for 4th order Runge-Kutta.

years

A vector of each year of the simulation.

See also

Other Rsim functions: rsim.params(), rsim.plot(), rsim.scenario(), rsim.step()