2012-10-02から1日間の記事一覧

時系列のラグを計算してくれる関数

R

embed関数のHelpにあるDescriptionを読んでも DescriptionEmbeds the time series x into a low-dimensional Euclidean space. となんのこっちゃいという感じだったが、実際に実行してみると > x <- 1:20 > embed(x,5) [,1] [,2] [,3] [,4] [,5] [1,] 5 4 3 …