----------------------------------------------------------</span>
<span class='co'># Second example: Scaled empirical TTT using a factor variable with 'aml' data</span>
<span class='co'># from 'survival' package.</span>

<span class='no'>TTT_2</span> <span class='kw'>&lt;-</span> <span class='fu'>TTT_EAnalytical</span>(<span class='fu'>Surv</span>(<span class='no'>time</span>, <span class='no'>status</span>) ~ <span class='no'>x</span>, <span class='kw'>method</span> <span class='kw'>=</span> <span class='s