View source: R/Methods-LandsepiParams.R
setTime | R Documentation |
Updates a LandsepiParams object with time parameters : Nyears and nTSpY
setTime(params, Nyears, nTSpY)
params |
a LandsepiParams Object. |
Nyears |
an integer giving the number of cropping seasons (e.g. years) to simulate. |
nTSpY |
an integer giving the number of time steps per cropping season (e.g. days). |
a LandsepiParams object.
## Not run:
simul_params <- createSimulParams()
simul_params <- setTime(simul_params, Nyears=10, nTSpY=120)
simul_params@TimeParam
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.