Sum Based on a Time-Window
tbr_sum_window(x, tcolumn, unit = "years", n, i, na.rm)
numeric value
column containing the values to calculate the sum.
formatted time column.
character, one of "years", "months", "weeks", "days", "hours", "minutes", "seconds"
numeric, describing the length of the time window.
row
logical. Should missing values be removed?