Fill a time series with NAs. in: a dataframe and a timestamp vector. out: a dataframe.

mf_fillna(data, timestamps, informat, dtin, dtout = dtin, starttime, ndays,
    outformat = informat, agg.function = expression(mean), digits)

Arguments

data

dataframe

timestamps

can be character

informat

format of input timestamps

dtin

time interval in timestamps

dtout

time interval in output file

starttime

starttime in the output data. the same format as 'informat'

ndays

how many days in the output data

outformat

format of output timestamps

Value

a dataframe

Examples