R/winmean.R

winmean <- function(x, tr = 0.2, na.rm = FALSE){
if(na.rm)x=elimna(x)
winmean<-mean(winval(x,tr))
winmean
}

Try the WRS2 package in your browser

Any scripts or data that you put into this service are public.

WRS2 documentation built on May 2, 2019, 4:46 p.m.