><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">surv</span> <span class="op">&lt;-</span> <span class="fu"><a href="survival.html">survival</a></span><span class="op">(</span><span class="va">samc_obj</span><span class="op">)</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Use the map() function to turn vector results into RasterLayer objects.</span></span></span>
<span class="