tbr_sum_window | R Documentation |
Sum Based on a Time-Window
tbr_sum_window(x, tcolumn, unit = "years", n, i, na.rm)
x |
column containing the values to calculate the sum. |
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.rm |
logical. Should missing values be removed? |
numeric value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.