e>, that has</p>
<ul>
<li><p>extra rows at the time change points where the state is unknown,</p></li>
<li><p>an automatically-constructed <code>timeperiod</code> covariate</p></li>
</ul>
<div class="sourceCode" id="cb112"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb112-1"><a href="timedep.html#cb112-1" aria-hidden="true" tabindex="-1"></a>psorpci.msm <span class="ot">&lt;-</span> <span class="fu">msm</span>(state <span class="sc">~</span> months, <span class="at">subject =</span> ptnum