title: Subset of a time series, bad value for start in windows function
body: <p>this is my first post and I hope you can help.
  I am trying to extract certain period from a time series.
  My time series (tsSST) goes from 2011,1,1 to 2015,12,31 and I need to extract the period from 2014,1,1 to 2015,12,31.</p>
  
  <p>That is my code and the error I am having:</p>
  
  <pre><code>tsSST&lt;-ts(SST[,2], start=c(2011,1,1), frequency=365)
  tsSST2&lt;-window(tsSST, start=c(2014,1,1), end=c(2015,12,31), frequency=365)
  </code></pre>
  
  <p>Resulting Error message:</p>
  
  <blockquote>
    <p>Error in window.default(x, ...) : bad value for 'start'</p>
  </blockquote>
  
  <p>If anyone can explain what is needed to be changed I'll appreciated that.</p>