Description Usage Arguments Details See Also Examples
Generic function for filling NA
values using seasonal Kalman filter.
1 2 3 4 5 | na.StructTS(object, ...)
## S3 method for class 'ts'
na.StructTS(object, ..., na.rm = FALSE, maxgap = Inf)
## S3 method for class 'zoo'
na.StructTS(object, ..., na.rm = FALSE, maxgap = Inf)
|
object |
an object. |
... |
other arguments passed to methods. |
na.rm |
logical. Whether to remove end portions or fill them with NA. |
maxgap |
Runs of more than |
Interpolate with seasonal Kalman filter, using StructTS
,
followed by tsSmooth
. The input object should
be a regular time series and have a frequency. It is assumed the cycle length is 1.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.