title: Column values to colnames and rownames in R
body: <p>I am trying to put the following date into a different format but running into a few errors.</p>
  
  <p>I am trying to create a matrix where the data will hopefully look as the following</p>