interpolate_and_clean_missing | R Documentation |
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
interpolate_and_clean_missing(y)
y |
a univariate time series or numeric vector |
a vector of the same class as y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.