title: Converting matrix from 288*2 to 48*6
body: <p>I have result data as list : </p>
  
  <pre><code>    "ID_station" "val"
  "1" 1 405
  "2" 1 202.5
  "3" 1 11.911
  "4" 1 101.25
  "5" 1 81
  "6" 1 1.7936
  "7" 2 11.764
  "8" 2 12.5
  "9" 2 6.0606
  "10" 2 400
  "11" 2 12.12
  "12" 2 1.844
  "13" 4 480
  "14" 4 12
  "15" 4 43.636
  "16" 4 160
  "17" 4 96
  "18" 4 1.726
  "19" 5 11.73
  "20" 5 12.272
  "21" 5 11.25
  "22" 5 270
  "23" 5 6
  "24" 5 2.05
  </code></pre>
  
  <p>I need to get result in this format - first column from ID station and second column make matrix 6*48</p>
  
  <pre><code>1   405       202.5 11.911  101.25  81      1.793
  2   11.7647   12.5  6.06    400     12.121  1.844
  4   480       12    43.63   160      96     1.7263
  5   11.73     12.27 11.25   270      6      2.05
  </code></pre>
  
  <p>I tried to do something like that and failed</p>
  
  <pre><code>vector_result=as.vector(unlist(result))
  V_1=matrix(vector_result, ncol =12)
  </code></pre>