class="section level2">
<h2 class="hasAnchor">
<a href="#formatting-functions" class="anchor"></a>Formatting functions</h2>
<p>After aggregating the data to a higher interval, all the observations in an interval are represented by a single point in time. This is either the first (rounding down) or the last (rounding up) datetime point of the interval. Two functions are offered to reformat the datetime variable, so the data might be better represented a table or a graph. First of all, <code>center_interval</