powered by
Updates a LandsepiParams object with time parameters : Nyears and nTSpY
setTime(params, Nyears, nTSpY)
a LandsepiParams object.
a LandsepiParams Object.
an integer giving the number of cropping seasons (e.g. years) to simulate.
an integer giving the number of time steps per cropping season (e.g. days).
if (FALSE) { simul_params <- createSimulParams() simul_params <- setTime(simul_params, Nyears=10, nTSpY=120) simul_params@TimeParam }
Run the code above in your browser using DataLab