interpolate_and_clean_missing: Remove leading values that are infinite or missing, and...

Description Usage Arguments Value

View source: R/utils.R

Description

Remove leading values that are infinite or missing, and replace all internal sequences of infinite or missing values by linearly interpolating between the surrounding observed (finite) values. Used in prediction methods

Usage

1

Arguments

y

a univariate time series or numeric vector

Value

a vector of the same class as y


reichlab/sarima-utils documentation built on March 21, 2020, 3:45 a.m.