Contents

1 runFun
2 企蠏,企譴ク谿,企譴螳


1 runFun #

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)

2 企蠏,企譴ク谿,企譴螳 #

library("caTools")

runmean(iris$Sepal.Length, 3)
runsd(iris$Sepal.Length, 3)
runmed(iris$Sepal.Length, 3)