Pad NA gaps of user-defined width with interpolated values.
na_interp(doy = doy, x = ts_x, y = ts_y, maxPadLength)
doy |
Date-of-year as per |
x |
Date as per |
y |
Measurement variable as per |
maxPadLength |
Specifies the maximum length of days over which to
interpolate (pad) missing data (specified as |
The function returns the data (a data.table) in a long format.
Smit, A. J.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.