ame but with the treat case "0" coming first</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="op">+</span><span class="va">period</span><span class="op">~</span><span class="va">treat</span><span class="op">|</span><span class="va">post</span>, <span class="va">base_did</span>, indiv <span class="op">=</span> <span class="op">~</span><span class="va">id</span>, trea