{{category R.data}} !!!時系列データ !!データ形式 ts tsデータ形式でデータセットを作成 <> ts(ベクトル, start=ユニットの開始数, frequency=ユニットごとの観察頻度) *例 ts(ベクトル, start=c(年, 開始回), frequency=年何回か) ts(ベクトル, start=c(年, 開始回), frequency=年何回か) ts(ベクトル, start=2001, frequency=12) ts(ベクトル, start=c(2001, 2), frequency=12) !!プロット ts.plot() *もしくは単に plot() としても、データ形式が ts になっていると自動的に、ts.plot()が起動される。 !!References *https://mjin.doshisha.ac.jp/R/Chap_33/33.html *https://www.marketechlabo.com/r-time-series-analysis/ *https://qiita.com/nori0__/items/ed279f0f82616f9665e2