Fill with "cubic spline interpolation"
fill_spline(body, idx, ...)
body |
The body of the vector. |
---|---|
idx |
the index to replace with. |
... | Further arguments passed to |
Returns a vector with the same class and attributes as the input vector.
#> [1] 1.5