nic-data"></a>
</h3>
<p><img src="titanic.jpg" width="50%" style="display: block; margin: auto;"></p>
<p>The <code>titanic</code> dataset contains basic survival statistics
of <em>Titanic</em> passengers. For each passenger, we know in which
class s/he traveled, as well as binary categories specifying age, sex,
and survival information. To get a first impression, we inspect a random
sample of cases:</p>
<div class="sourceCode" id="cb1"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><spa