setDates.Rd
Sets the run, ensemble, and sensitivity analysis dates of PEcAn Settings
setDates(settings, startDate, endDate)
settings | A |
---|---|
startDate, endDate | The desired start and end dates |
The original Settings
object with updated dates
Sets the start/end dates in settings$run
to the specified dates, and sets the corresponding
years for settings$ensemble
and settings$sensitivity.analysis
. Either date can be
omitted to leave it unchanged.