2">
    <h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
    <p>The object <code>pt</code> needs to be a <code>"probtrans"</code> object, obtained with
forward prediction (the default, <code>direction</code>=<code>"forward"</code>, in the
call to <code><a href="probtrans.html">probtrans</a></code>). The restriction to <code>tau</code> is there
because, as in ordinary survival analysis, the probability of being in a
state can be positive until infinity, resulting in inf