[R] sliding window over a large vector

c.oldmeadow at student.qut.edu.au c.oldmeadow at student.qut.edu.au
Tue Dec 16 11:46:41 CET 2008


the function works for me

s<-rbinom(1000,1,0.5)

t<-slide(s,50)

just too slow.

Thanks.



More information about the R-help mailing list