library(TTR) runSum(x, n=10, cumulative=FALSE) runMin(x, n=10, cumulative=FALSE) runMax(x, n=10, cumulative=FALSE) runMean(x, n=10, cumulative=FALSE) runMedian(x, n=10, non.unique="mean", cumulative=FALSE) runCov(x, y, n=10, use="all.obs", sample=TRUE, cumulative=FALSE) runCor(x, y, n=10, use="all.obs", sample=TRUE, cumulative=FALSE) runVar(x, y=NULL, n=10, sample=TRUE, cumulative=FALSE) runSD(x, n=10, sample=TRUE, cumulative=FALSE) runMAD(x, n=10, center=NULL, stat="median", constant=1.4826, non.unique="mean", cumulative=FALSE)