Fills missing values (NA) in every column of a data frame using linear
interpolation, up to a maximum of gap consecutive missing observations.
Gaps longer than gap are left as NA.
Examples
filllinear(data.frame(x = c(1, NA, 3), y = c(2, NA, 4)), gap = 1)
#> x y
#> 1 1 2
#> 2 2 3
#> 3 3 4
