Displaying 3 results from an estimated 3 matches for "boxout".
Did you mean:
voxout
2008 May 27
1
label outliers in geom_boxplot (ggplot2)
...bel=dat$name)
But this -of course- labels all the data points. So I searched high and
low to find the way to only label the outliers, but I couldn't find any
solution. Probably my keywords were inappropriate, but I looked at the
ggplot website and the book also. So I did this:
> boxout=boxplot(dat$val)$out
> outname=as.character(dat$name)
> outname[(dat$val %in% boxout)==FALSE]="\n"
> p+geom_text(label=outname)
This works, but seems like a hack to me. Is there an obvious solution
that I am missing?
Another thing: it seems, that if there is only...
2009 Feb 26
3
Moving Average
I am looking for some help at removing low-frequency components from a signal, through Moving Average on a sliding window.
I understand thiis is a smoothing procedure that I never done in my life before .. sigh.
I searched R archives and found "rollmean", "MovingAverages {TTR}", "SymmetricMA".
None of the above mantioned functions seems to accept the smoothing
2008 Dec 16
8
sliding window over a large vector
Hi all,
I have a very large binary vector, I wish to calculate the number of
1's over sliding windows.
this is my very slow function
slide<-function(seq,window){
n<-length(seq)-window
tot<-c()
tot[1]<-sum(seq[1:window])
for (i in 2:n) {
tot[i]<- tot[i-1]-seq[i-1]+seq[i]
}
return(tot)
}
this works well for for reasonably sized vectors. Does