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;      4 Apolitic</span></span></code></pre></div>
<p>When the declared objects are constructed as categorical variables to
replace the base factors, the function <code class="sourceCode r"><span class="fu">as.character</span>()</code>
extracts the categories in a similar way to factors, via a dedicated
class method for declared ob