class="sourceCode" id="cb1"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1"></a><span class="kw">library</span>(OddsPlotty)</span></code></pre></div>
</div>
<div id="training-a-glm-to-use-with-odds-plot" class="section level2">
<h2>Training a GLM to use with odds plot</h2>
<p>First we load the required packages. The example dataset we are going to use to work with OddsPlotty is the breast cancer data:</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode r"><code