View source: R/na_extrapolate.R
na_extrapolate | R Documentation |
NA
s.na_extrapolate
interpolates leading and trailing NA
s with a
linear function.
na_extrapolate(x)
x |
Numeric or integer vector. |
Numeric vector.
Stuart K. Grange
na_interpolate
na_extrapolate(c(NA, 1:5, rep(NA, 5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.