title: Read daily data in R
body: <p>I am trying to forecast electricity consumption on daily basis based on historical data for each day from 1st january 2010 to 31st december 2011 i.e. I hve a total of 365*2 = 730 past data points. I am using <code>ts</code> to read the data. I am defining it as follows: </p>
  
  <pre><code>ts(consumption, start=1, frequency=365)
  </code></pre>
  
  <p>Is this correct? I am mainly doubtful over the "frequency" : should it be 365? Or should I use</p>
  
  <pre><code>ts(consumption, start=1,frequency=1)
  </code></pre>
  
  <p>For another approach, if I want to consolidate the data on weekly basis (by summing  up every 7 observations) and then want to run forecast model, how should I read the data using <code>ts</code> ? What should be the value of <code>frequency</code>?</p>