Uses supsmu for non-seasonal series and a periodic stl decomposition with seasonal series to identify outliers and estimate their replacements.
tsoutliers(x, iterate = 2, lambda = NULL)
the number of iteration only for non-seasonal series
Box-Cox transformation parameter. If
Indicating the index of outlier(s)
Suggested numeric values to replace identified outliers
Rob J Hyndman
data(gold) tsoutliers(gold)#> $index #>  770 #> #> $replacements #>  494.9 #>