starting a daily time series in R

后端 未结 4 747
忘掉有多难
忘掉有多难 2020-11-27 17:12

I have a daily time series about number of visitors on the web site. my series start from 01/06/2014 until today 14/10/2015 so I wish to predict n

4条回答
  •  离开以前
    2020-11-27 17:44

    series <- ts(visitors, frequency=365, start=c(2014, 152)) 
    

    152 number is 01-06-2014 as it start from 152 number because of frequency=365 To forecast for 60 days, h=60.

    forecast(arimadata , h=60)
    

提交回复
热议问题