----------------------------------------------------------
. marginsplot</code></pre>
<div class="figure">
<img src="http://i.imgur.com/VhoaFGp.png" alt="marginsplot"><p class="caption">marginsplot</p>
</div>
<p>With <strong>margins</strong> in R, replicating Stata’s results is incredibly simple using just the <code><a href="../reference/margins.html">margins()</a></code> method to obtain average marginal effects and its <code>summary()</code> method to obtain Stata-like output:</p>
<div class="sourceCode