title: Transpose a vector into a single column?
body: <p>Can't believe I have never noticed that before in R!</p>
  
  <p>If I transpose a vector, it does not give a single-column matrix like I would expect.</p>
  
  <p><strong>Example</strong></p>
  
  <pre><code>test &lt;- c(1, 2, 3, 4)
  
  t(test)
  </code></pre>
  
  <blockquote>
    <p>[,1] [,2] [,3] [,4]<br>
    [1,] 1    2    3    4</p>
  </blockquote>
  
  <p>And that is creating a problem in one of my functions.</p>
  
  <p>Any workarounds?</p>