title: How to merge rows into columns in R?
body: <p>So I've prepared the following dummy-data with the following code,</p>
  <pre><code>whatever &lt;- data.frame(model=c(&quot;Nug&quot;, &quot;Ste&quot;), A=c(1,2), B=c(3,4), C=c(5,6))
  </code></pre>
  <p>...and thus the following dataframe provided by a screenshot (CBB to figure out Stack Overflow's syntax to create a table format):</p>
  <p><a href="https://i.stack.imgur.com/AdJeE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AdJeE.png" alt="Original" /></a></p>
  <p>So the new dataframe would have 2x3 columns and <em>one row</em>, e.g <strong>Nug.A = 1</strong>, <strong>Ste.A</strong> = 2**, <strong>Nug.B = 3</strong>, <strong>Ste.B = 4</strong>, <strong>Nug.C = 5</strong> and finally <strong>Ste.C = 6</strong></p>
  <p>I'm sure such a data manipulation function already exists, but I do not know the name to call this transformation, so I couldn't Google it.
  I'm not asking how to go from wide to long, but rather a long (with not one but multiple columns) to wide.</p>