How do I make grouped data in R and create variables in the heading when reading a data table? : [enter image description here][1]


  [1]: https://i.stack.imgur.com/xPrJD.png


Hi. I am trying to make a data table in R, where there is a heading with variables and a subheading with 4 "reps" grouped to each variable..

How do I do this? It does not look right at this moment...