_대문 | 방명록 | 최근글 | 홈피소개 | 주인놈
FrontPage › runFun

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)

댓글 남기기..
이름: : 오른쪽의 새로고침을 클릭해 주세요. 새로고침
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:52

어떤 기쁨을 얻기보다 얻기 위해 일하는 것보다 책임을 다하기 위해 일하는 것뿐이다.