create a sequence of datetimes in r code example
Example: lubridate sequence of dates
seq(ymd('2012-04-07'),ymd('2013-03-22'), by = 'weeks')
# you can replace weeks by days too
seq(ymd('2012-04-07'),ymd('2013-03-22'), by = 'weeks')
# you can replace weeks by days too