m <span class="ot">&lt;-</span> <span class="fu">msm</span>(state <span class="sc">~</span> years, <span class="at">subject=</span>PTNUM, <span class="at">data=</span>cav_imp, <span class="at">deathexact=</span><span class="cn">TRUE</span>, </span>
<span id="cb125-8"><a href="timedep.html#cb125-8" aria-hidden="true" tabindex="-1"></a>                          <span class="at">covariates =</span> <span class="fu">list</span>(<span class="st">&quot;1-2&quot;</span><span class="ot">=</span><span class="er">~</