co"><span class="r-pr">#&gt;</span> <span class="error">Error:</span> object 'bn2' not found</span>
<span class="r-in"><span><span class="co"># }</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># use negative y values to encode deaths versus survivals</span></span></span>
<span class="r-in"><span><span class="va">titanic</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/as.data.frame.html" class="external-link">as.dat