Description Usage Arguments Value
View source: R/transformations.R
Add Imputed Series
1 2 3 4 5 6 7 8 9 10 | impute_values(
tsbl,
method = c("linear", "spline", "stine", "ma", "StructTS", "ARIMA", "locf", "nocb",
"mean", "median", "mode", "random", "replace", "seasonal_interpolation",
"seasonal_locf", "seasonal_mean", "seasonal_random", "seasonal_kalman", "seasonal_ma"),
long = FALSE,
value = NULL,
Kalman_smooth = FALSE,
seasonal_splitting = FALSE
)
|
tsbl |
tsibble |
method |
method of imputation |
long |
return a long tsibble with only one measured variable |
value |
if method is "replace" then the value for replacement. if "ma" then the value of k. |
Kalman_smooth |
use Kalman smoothing for StructTS or ARIMA |
seasonal_splitting |
tsibble with a column for imputed values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.