Median Based on a Time-Window
tbr_median_window(x, tcolumn, unit = "years", n, i, na.pad, ...)
list
column containing the values to calculate the median.
formatted time column.
character, one of "years", "months", "weeks", "days", "hours", "minutes", "seconds"
numeric, describing the length of the time window.
row
logical. If `na.pad = TRUE` incomplete windows (duration of the window < `n`) return `NA`.
additional arguments passed to median_ci