I wanted a window kind function to detect outliers & replace it with some value. I came across these two functions. It seems that both of them are using similar technique. If the technique are same can we use hampel function inside filloutliers function? If not what is the difference among these two ?