spline_fill {dateutils} | R Documentation |
Spline fill missing observations
Description
Spline fill missing observations from the first observation to the last, leaving NA observations in the head and tail
Usage
spline_fill(x)
Arguments
x |
data with missing observations |
Value
data with interpolated missing observations, except at head and tail, which remain NA
Examples
spline_fill_trend(c(NA,1,2,3,NA,5)) ## NA 1 2 3 4 5
[Package dateutils version 0.1.5 Index]