na.seadec {imputeTS} | R Documentation |
Deprecated use na_seadec
instead.
Description
na.seadec is replaced by na_seadec
.
The functionality stays the same. The new name better fits modern R code
style guidelines (which prefer _ over . in function names).
Usage
na.seadec(
x,
algorithm = "interpolation",
find_frequency = FALSE,
maxgap = Inf,
...
)
Arguments
x |
Numeric Vector ( |
algorithm |
Algorithm to be used after decomposition. Accepts the following input:
|
find_frequency |
If TRUE the algorithm will try to estimate the frequency of the time-series automatically. |
maxgap |
Maximum number of successive NAs to still perform imputation on. Default setting is to replace all NAs without restrictions. With this option set, consecutive NAs runs, that are longer than 'maxgap' will be left NA. This option mostly makes sense if you want to treat long runs of NA afterwards separately. |
... |
Additional parameters for these algorithms that can be passed
through. Look at |