ref="comorbidity.html">comorbidity()</a></code> function.</p></dd>


<dt id="arg-weights">weights<a class="anchor" aria-label="anchor" href="#arg-weights"></a></dt>
<dd><p>A string denoting the weighting system to be used, which will depend on the mapping algorithm.</p>
<p>Possible values for the Charlson index are:</p><ul><li><p><code>charlson</code>, for the original weights by Charlson et al. (1987);</p></li>
<li><p><code>quan</code>, for the revised weights by Quan et al. (2011).</p></li>
</ul><p>Possib