setTime.Rd
Updates a LandsepiParams object with time parameters : Nyears and nTSpY
setTime(params, Nyears, nTSpY)
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).
a LandsepiParams object.
if (FALSE) {
simul_params <- createSimulParams()
simul_params <- setTime(simul_params, Nyears=10, nTSpY=120)
simul_params@TimeParam
}