title: R to create a data frame a specific way
body: <p>I am trying to create a data frame and in the column of time I need to have each time written 1 time before the next date. For example:</p>
  
  <pre><code>1983-01-01
  1983-01-01
  1983-01-01
  1983-01-01
  1983-01-02
  1983-01-02
  </code></pre>
  
  <p>etc.</p>
  
  <p>for 10 years.</p>
  
  <p>I used this command, but I don't have the needed format.</p>
  
  <pre><code>data=data.frame(date=as.Date("1983-01-01") +seq(n))
  head(data)
          date
  1 1983-01-02
  2 1983-01-03
  3 1983-01-04
  4 1983-01-05
  5 1983-01-06
  6 1983-01-07
  </code></pre>