tbr_sd_window {tbrf} | R Documentation |
Standard Deviation Based on a Time-Window
Description
Standard Deviation Based on a Time-Window
Usage
tbr_sd_window(x, tcolumn, unit = "years", n, i, ...)
Arguments
x |
column containing the values to calculate the standard deviation. |
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 base::sd() |
Value
numeric value
[Package tbrf version 0.1.5 Index]