, at = list(hp=150))</a></code>. When using <code>at</code>, <code><a href="../reference/margins.html">margins()</a></code> constructs modified datasets - using <code>build_datalist()</code> - containing the specified values and calculates marginal effects on each modified dataset, <code>rbind</code>-ing them back into a single “margins” object.</p>
<p>Stata’s <code>atmeans</code> argument is not implemented in <code><a href="../reference/margins.html">margins()</a></code> for various reasons, includi