search for: tp15459848p15459848

Displaying 1 result from an estimated 1 matches for "tp15459848p15459848".

2008 Feb 13
4
rolling sum (like in Rmetrics package)
...'n' entries long #what I would like to do is: x1 <- x[1:20] output1 <- sum(x1) x2 <- x[2:21] output2 <- sum(x2) x3 <- ... ouput <- c(output1, output2, ...) Thanks, JV -- View this message in context: http://www.nabble.com/rolling-sum-%28like-in-Rmetrics-package%29-tp15459848p15459848.html Sent from the R help mailing list archive at Nabble.com.