Description Usage Arguments Value Examples
This is a function to Replace all missing observations of a time series or
vector object. For na_option
is only required the string 'mean' or
'kalman' allowed. This means, that all na values are either replaced by the
mean, or kalman imputation of the ts. The standard value of na_option
is 'mean'. Otherwise the function returns an error message.
1 | predict_missing_observations(ts, na_option = "mean")
|
ts |
A time series or vector object. |
na_option |
A string value containing either 'mean' or'kalman'; Standard values is 'mean'. |
The na imputated ts
. If the input is not a ts or
vector, an error message is returned.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.