spline_fill_trend {dateutils}R Documentation

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

spline_fill_trend(c(1,2,3,NA,5)) ## 1 2 3 4 5

[Package dateutils version 0.1.5 Index]