class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/utils/data.html" class="external-link">data</a></span><span class="op">(</span><span class="va">base_did</span><span class="op">)</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># means of treat/control</span></span></span>
<span class="r-in"><span><span class="fu">did_means</span><span class="op">(</span><span class="va">y</span><span class="op">+</span><span class="va">x1</span><span class