How to Create a R TimeSeries for Hourly data

前端 未结 2 1886
既然无缘
既然无缘 2020-12-08 08:40

I have hourly snapshot of an event starting from 2012-05-15-0700 to 2013-05-17-1800. How can I create a Timeseries on this data and perform HoltWinters to it?

I trie

2条回答
  •  我在风中等你
    2020-12-08 09:04

    Please take a look at the following post which might answer the question:

    Decompose xts hourly time series

    Its explains how you can create a xts object using POSIXct objects. This xts object can have its frequency attribute set manually and you will probably then be able to use HoltWinters

提交回复
热议问题