Description Usage Arguments Examples
This function gives the decomposed time series with long-term (week) and short-term (day) trends removed.
1 2 |
obs |
This is the numeric column under investigation. |
date |
This is a required column with the format 'YYYY-MM-DD HH:MM:SS'. |
proxy |
This is the data that obs is being compared to (cannot be the same as obs). |
reflective |
This decides whether to use a selected time period of data (reflective), or to use data from the latest day (live). Defaults to TRUE. |
reset |
This sets the length of time for the long-term trend to reset its coefficients. Defaults to 720. |
long.term |
This sets the length of the long-term trend. Defaults to 168. |
short.term |
This sets the length of the short-term trend. Defaults to 24. |
theta |
This sets the test threshold on whether to flag the data. Defaults to NA (no flags given). |
tau |
This sets the day threshold on whether to flag the data given consistent theta flags. Defaults to NA (no flags given). |
1 | drFUN()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.