Revision 2fc8c4fd1f424c8b2c3ae6ce3215e21c8381d6ab authored by Samrachana Adhikari on 25 November 2016, 07:42:51 UTC, committed by cran-robot on 25 November 2016, 07:42:51 UTC
1 parent d08047e
runningmeans.R
###Running Means####
runningmeans <- function(x, start){
n.iter=length(x)
val=sapply(start:n.iter, function(ii) mean(x[start:ii]))
return(val)
}
Computing file changes ...