                 output_file <span class="op">=</span> <span class="st">"Transformation_heartfailure.pdf"</span><span class="op">)</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># create html file. file name is Transformation_Report.html</span></span></span>
<span class="r-in"><span><span class="fu">transformation_report</span><span class="op">(</span><span class="va">heartfailure</span>, <span class="st">"death_event"</span>, output_format <span class