pan><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] 2</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> attr(,"map")</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] "charlson_icd10_quan"</span>
<span class="r-in"><span><span class="co"># Conversely, with `assign0 = TRUE`, only the most severe is considered:</span></span></span>
<span class="r-in"><span><span class="fu">score</span><span class="op">(</span>x <span class="op">=</