以列合併時間序列資料

個案研究:在 R 中分析城市時間序列資料

Lore Dirick

Manager of Data Science Curriculum at Flatiron School

使用 rbind() 合併

  • xts 物件會自動依時間排序
  • 用 rbind() 合併 xts 物件會保留順序

$$

在資料表插入列會維持依年份的順序

個案研究:在 R 中分析城市時間序列資料

天氣資料

  • 使用波士頓地區天氣資料來練習

白雪覆蓋的 Boston Commons

1 Beau Wade, https://www.flickr.com/people/absolutwade/
個案研究:在 R 中分析城市時間序列資料

一起來練習吧!

個案研究:在 R 中分析城市時間序列資料

Preparing Video For Download...