Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

landsepi (version 1.1.1)

setTime: Set time parameters

Description

Updates a LandsepiParams object with time parameters : Nyears and nTSpY

Usage

setTime(params, Nyears, nTSpY)

Arguments

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).

Value

a LandsepiParams object.

Examples

Run this code
# NOT RUN {
simul_params <- createSimulParams()
simul_params <- setTime(simul_params, Nyears=10, nTSpY=120)
simul_params@TimeParam
# }

Run the code above in your browser using DataLab