n class="va">evsrep</span> <span class="op">&lt;-</span> <span class="fu">simaerep</span><span class="op">(</span><span class="va">df_visit_events_test</span>, inframe <span class="op">=</span> <span class="cn">TRUE</span>, event_names <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"ae"</span>, <span class="st">"pd"</span><span class="op">)</span><span class="op">)</span></span></span>
<span class