Learn R Programming

tbrf (version 0.1.5)

tbr_median_window: Median Based on a Time-Window

Description

Median Based on a Time-Window

Usage

tbr_median_window(x, tcolumn, unit = "years", n, i, ...)

Value

list

Arguments

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

...

additional arguments passed to median_ci