title: Convert date column as row ID in r
body: <p>I have a data frame like this</p>
  
  <pre><code>Id  date   TENAGA   SIME DARBY
  1   00-01   5.6      10.9
  2   00-02   4.0      2.0
  3   00-03   4.1      6.8
  4   00-04   2.3      1.3
  5   00-05   8.7      3.5
  </code></pre>
  
  <p>I want to convert date column to Raw names like this</p>
  
  <pre><code>date   TENAGA     SIME DARBY
  00-01   5.6        10.9
  00-02   4.0         2.0
  00-03   4.1         6.8
  00-04   2.3         1.3
  00-05   8.7         3.5
  </code></pre>