</pre>
<p>We might simplify this model to include only the effects that appeared to be significant.</p>
<div class="sourceCode" id="cb118"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb118-1"><a href="timedep.html#cb118-1" aria-hidden="true" tabindex="-1"></a>cav.timei.msm <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, <span class="at">deathexact =</span> <span class=