季節性視覺化評估
分析時間序列的第一步,應該是先建立圖形化摘要,幫助你掌握趨勢、季節性與可能的異常點等重點特徵。這個練習中,你會用多種圖表把 nitrate 濃度當作時間序列來探索,並找出可能存在的季節性模式週期。
本練習屬於課程
R 中的異常偵測入門
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# View contents of dataset
head(river)
# Show the time series of nitrate concentrations with time
plot(___ ~ ___, data = river, type = ___)