https://github.com/cran/HLSM
Tip revision: d08047ef0a022d4fbbbc4a39dc597565dd2aa07d authored by Samrachana Adhikari on 19 October 2016, 22:35:29 UTC
version 0.6
version 0.6
Tip revision: 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)
}