ss="r-in"><span class="co"># calculate adjusted survival curves, using SuperLearner but only</span></span>
<span class="r-in"><span class="co"># using the SL.glm library. In practice you would want to use more than</span></span>
<span class="r-in"><span class="co"># that. See ?MOSS and ?survtmle</span></span>
<span class="r-in"><span class="va">adjsurv</span> <span class="op">&lt;-</span> <span class="fu"><a href="adjustedsurv.html">adjustedsurv</a></span><span class="op">(</span>data<span class="op">=</spa