ing functions to visualize those inferences.</p>
<div id="average-marginal-effects-and-average-partial-effects" class="section level3">
<h3 class="hasAnchor">
<a href="#average-marginal-effects-and-average-partial-effects" class="anchor"></a>Average Marginal Effects and Average Partial Effects</h3>
<p>We can start by loading the <strong>margins</strong> package:</p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(<span class="st">"margins"</span>)