nt to the following.</p>
<pre><code>y &lt;- structure(1:6, .Dim = c(2,3))</code></pre>
<p>Sequence notation can be used within any call to the generic <code>c()</code> function in R.
In the above example, c(2,3) could be written as <code>c(2:3)</code>.</p>
<p>The generalization of column-major indexing is last-index major indexing.
Arrays of more than two dimensions are written in a last-index major
form. For example,</p>
<pre><code>z &lt;- structure(1:24, .Dim = c(2,3,4))</code></pre>
<p>produces a three-d