Learn R Programming

dateutils (version 0.1.5)

spline_fill_trend: Spline fill missing observations

Description

Spline fill missing observations, designed for filling low frequency trend estimates

Usage

spline_fill_trend(x)

Arguments

x

data with missing observations

Value

data with interpolated missing observations

Examples

Run this code
# NOT RUN {
spline_fill_trend(c(1,2,3,NA,5)) ## 1 2 3 4 5
# }

Run the code above in your browser using DataLab