title: R ts with missing values
body: <p>I have a data frame I read from a csv file that has daily observations: </p>
  
  <pre><code>Date        Value 
  2010-01-04  23.4
  2010-01-05  12.7
  2010-01-04  20.1
  2010-01-07  18.2
  </code></pre>
  
  <p>PROBLEM: Missing data.
  Forecast package expects a plain <code>ts</code> object not containing any missing data, while my dataset has missing data on most weekends and other random points.</p>
  
  <p>converting to <code>ts</code> should not work</p>
  
  <pre><code>ts(values, start = c(1997, 1), frequency = 1)
  </code></pre>
  
  <p>the only solution I can think of is to transform daily data to weekly data but R is a new thing and other better solutions could exist.</p>