Description Usage Arguments Value Author(s) See Also Examples
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 6 7 8  #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")
#Example 3: Same as example 1, just written with pipe operator
tsAirgap %>% na.seasplit(algorithm = "interpolation")

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.