dict both together.</p>
<p>If the risk factors are <em>discrete</em>, we could do this in <code>msm</code> by building a multi-state model on an <em>expanded state space</em>.</p>
<div class="figure"><span style="display:block;" id="fig:unnamed-chunk-64"></span>
<img src="msmcourse_files/figure-html/unnamed-chunk-64-1.png" alt="Joint model for progression of damage " width="672" />
<p class="caption">
Figure 5.1: Joint model for progression of damage
</p>
</div>
<p>Then we could predict future outcomes for 