$pill)</code></pre>
<pre><code>## Reference category: blue</code></pre>
<p>It seems to be working as intended. Note that we can also use it in a <code>summarize()</code> call. For instance, below we add it to the summaries performed on <code>factor</code> variables and summarize the full <code>toyData</code> dataset:</p>
<pre class="r"><code>summarize(toyData, 
      summaries = setSummaries(factor = defaultFactorSummaries(add = &quot;refCat&quot;)))</code></pre>
<pre><code>## $pill
## $pill$variableType
##