convert from timestep to actual time points. supports year, month, week, and day as time unit.

obs_timestep2timepoint(start.date, end.date, timestep)

Arguments

start.date

start date when the first observation was taken.

end.date

end date when the last observation was taken.

timestep

a list includes time unit and number of time unit per timestep.

Value

timepoints from start to end date given the number of time unit per timestep.

Author

Dongchen Zhang