 <span class="fu"><a href="https://rdrr.io/r/base/lapply.html" class="external-link">lapply</a></span><span class="op">(</span><span class="va">pbc</span><span class="op">[</span><span class="va">varsToFactor</span><span class="op">]</span>, <span class="va">factor</span><span class="op">)</span></span>
<span class="r-in"></span>
<span class="r-in"><span class="co">## Create a variable list</span></span>
<span class="r-in"><span class="fu"><a href="https://rdrr.io/r/base/dput.html" class="external-link">dpu