fix_date_continuity(dat, index, form = ymd, granularity = "days")
dat
containing datesymd
family, specifying the format the dates in dat
are expected to be in. Default ymd
.'secs'
, 'mins'
, 'hours'
, 'days'
, 'weeks'
, 'years'
. Default 'days'
.dat[,index]
, with the missing observations added. Dates in dat[,index]
will be formatted as POSIXct
, due to conversion with lubridate
.