>
<span><span class="co">#&gt;      1     Left</span></span>
<span><span class="co">#&gt;      2   Middle</span></span>
<span><span class="co">#&gt;      3    Right</span></span>
<span><span class="co">#&gt;    -91 Apolitic</span></span></code></pre></div>
<p>Such a variable could in principle be constructed directly as a
factor:</p>
<div class="sourceCode" id="cb14"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">x5</span> <span class="op">&lt;-</span> <span class="fu">