p">)</span></span></span>
<span class="r-in"><span><span class="fu">score</span><span class="op">(</span>x <span class="op">=</span> <span class="va">x1</span>, weights <span class="op">=</span> <span class="st">"charlson"</span>, assign0 <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span>  [1] 2 6 0 2 0 0 4 0 3 2 0 0 3 0 2</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> attr(,"map")</span>
<span 