title: how to transfer ts into data.frame?
body: <pre><code>&gt; print( ts(as.character(seq(as.Date("2013-9-1"),length.out=30,by=1)), frequency = 7, start = c(1, 7)), calendar = TRUE) 
            p1         p2         p3         p4         p5         p6         p7
  1                                                                   2013-09-01
  2 2013-09-02 2013-09-03 2013-09-04 2013-09-05 2013-09-06 2013-09-07 2013-09-08
  3 2013-09-09 2013-09-10 2013-09-11 2013-09-12 2013-09-13 2013-09-14 2013-09-15
  4 2013-09-16 2013-09-17 2013-09-18 2013-09-19 2013-09-20 2013-09-21 2013-09-22
  5 2013-09-23 2013-09-24 2013-09-25 2013-09-26 2013-09-27 2013-09-28 2013-09-29
  6 2013-09-30   
  </code></pre>
  
  <p>I want to get a data.frame from the ts as up and have two features:<br>
  1.rownames is 1 2 3 4 5 6<br>
  2.colnames is  Mon  Tue Wed Thu  Fri Sat  Sun<br>
  how can i get it ?</p>
  
  <pre><code>    Mon             Tue        Wed        Thu        Fri       Sat         Sun 
  1                                                                   2013-09-01
  2 2013-09-02 2013-09-03 2013-09-04 2013-09-05 2013-09-06 2013-09-07 2013-09-08
  3 2013-09-09 2013-09-10 2013-09-11 2013-09-12 2013-09-13 2013-09-14 2013-09-15
  4 2013-09-16 2013-09-17 2013-09-18 2013-09-19 2013-09-20 2013-09-21 2013-09-22
  5 2013-09-23 2013-09-24 2013-09-25 2013-09-26 2013-09-27 2013-09-28 2013-09-29
  6 2013-09-30 
  </code></pre>
  
  <p>maybe it is the quickest way to transfer a data.frame from  my code.</p>