title: add the hours with zero rainfall
body: <p>Most of the time the hourly rainfall is zero (0), this are not in the file. How can I create a complete time series with all 8,784 hours in the year. That
  is, add the hours with zero rainfall.</p>
  <pre><code>rainfall$V1 &lt;- as.POSIXct(paste0(rainfall$V1), format = &quot;%d%b%y:%H:%M&quot;)
  
  head(rainfall)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/odea3.png" rel="nofollow noreferrer">head(rainfall)</a></p>
  <p>Eg. 1992-01-01 01:00:00
  ...
  1992-01-16 13:00:00
  1992-01-16 17:00:00
  is missing from the file, as they have zero rainfall.</p>
  <p>V1 is the Date (hourly)
  V2 is the hourly rainfall</p>
  <p>and here is my ts():</p>
  <pre><code>rainfall_ts &lt;- ts(rainfall$V2, start= c(1992,01,01),  frequency = 24*365)
  </code></pre>
  <p>and I need to plot the rainfall_ts, is the frequency = 24*365 correct?</p>
  <p>thank you</p>