年、日、時間が異なる列にある熱消費量のデータセットを指定して、時系列オブジェクトを作成したいと思います。ファイルデータはこんな感じ
rdays heat[J] ds.jdate ds.hh ds.dow ds.tod ds.diy ds.wiy
0 1000 12965 2 6 2 182 26
0.0416 1150 12965 3 6 2 182 26
一方、説明変数は次のとおりです。
rdays: 'Running days', No. of days from the start of the data set
(obs 1 = 0, obs 2 = 1/24, ...)
Information on time:
jdate: Julian date (No. of days since 1Jan1960)
hh: Time of day (0,...,23)
dow: Day of week (1=monday, ... , 7=sunday)
tod: Type of day (1=Working day, 2=Half-Holy (incl. Saturday),
3=Holy (incl. Sunday))
diy: Day in year
wiy: Week in year
開始期間は 1995 年 7 月 1 日 02:00 で、終了期間は 1996 年 6 月 30 日 23:00 です。