imetk/man/summarise_by_time.html" class="external-link">summarise_by_time</a></span><span class="op">(</span></span>
<span>    .date_var <span class="op">=</span> <span class="va">visit_end_date_time</span></span>
<span>    , .by     <span class="op">=</span> <span class="st">"day"</span></span>
<span>    , visits  <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/mean.html" class="external-link">mean</a></span><span class="op">(</span><span class="va">length_of_stay</span>, na.rm <