smoothrb smoothes a time series robustly by using Huber's psi-function. The initialisation uses a moving median.
smoothrb
Useful links