powered by
utild1clean
utild1clean(arr0, arr1, method = "bothends", nsigma = 3, d2=FALSE)
method='bothends' remove otliers from both side of a distributon (default)
method='bothends'
method='left' remove otliers from left side
method='left'
method='right' remove otliers from right side
method='right'
utild2clean
s0<-c(rep(c(1,3,7,10),3), -23) s1<-c(1:7) s0; s1 a<-utild1clean(arr0=s0, arr1=s1); a a<-utild1clean(s0, s1, method='right', nsigma=0.8); a
Run the code above in your browser using DataLab