Description Usage Arguments Value See Also Examples
Time-Based Rolling Standard Deviation
1 |
.tbl |
a data frame with at least two variables; time column formatted as date, date/time and value column. |
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. |
na.rm |
logical. Should missing values be removed? |
tibble with column for the rolling sd.
1 | tbr_sd(Dissolved_Oxygen, x = Average_DO, tcolumn = Date, unit = "years", n = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.