Reshape data in R: transpose : <p>How can I reshape the following data in R so that it is organized in rows?</p>

<pre><code>1 0 0 1 0 0 0 1 0
</code></pre>

<p>should become:</p>

<pre><code>1 0 0
1 0 0
0 1 0
</code></pre>

<p>Thanks</p>
