Splits the times series into seasons and afterwards performs imputation separately for each of the resulting time series datasets (each containing the data for one specific season).
1  na.seasplit(x, algorithm = "interpolation", ...)

x 
Numeric Vector ( 
algorithm 
Algorithm to be used after splits. Accepts the following input:

... 
Additional parameters for these algorithms that can be passed through. Look at 
Vector (vector
) or Time Series (ts
) object (dependent on given input at parameter x)
Steffen Moritz
na.interpolation
,
na.kalman
, na.locf
,
na.ma
, na.mean
,
na.random
, na.replace
,
na.seadec
1 2 3 4 5  #Example 1: Perform seasonal splitted imputation using algorithm = "interpolation"
na.seasplit(tsAirgap, algorithm = "interpolation")
#Example 2: Perform seasonal splitted imputation using algorithm = "mean"
na.seasplit(tsAirgap, algorithm = "mean")

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.