| tbr_median_window | R Documentation | 
Median Based on a Time-Window
tbr_median_window(x, tcolumn, unit = "years", n, i, na.pad, ...)
| x | column containing the values to calculate the median. | 
| tcolumn | formatted time column. | 
| unit | character, one of "years", "months", "weeks", "days", "hours", "minutes", "seconds" | 
| n | numeric, describing the length of the time window. | 
| i | row | 
| na.pad | logical. If 'na.pad = TRUE' incomplete windows (duration of the window < 'n') return 'NA'. | 
| ... | additional arguments passed to  | 
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.