title: Analyzing a time series with R
body: <p>I'm a newbie on R following a PDF of timeseries analysis with R, by Walter Zucchini. I have some data coming from a sensor, in particular I can have data every minutes or every 5 seconds.
  Then I want to use <code>ts()</code> command to make a time series of those values. So the syntax should be <code>data1mints &lt;- ts(data1min ,freq = 525600)</code> where 525600 are the minutes in a regular year.<br>
  after that I try to plot with this command <code>plot(stl(log(data1min), s.window = "periodic"))</code> but R says me that </p>
  
  <blockquote>
    <p>series is not periodic or has less than two periods</p>
  </blockquote>
  
  <p>To be more precise, I have data from 20 March to 28 March, so i didn't have a complete year data, but I think it's a enough period to analyze what happens every minute. </p>
  
  <p>What I'm wrong?</p>