View source: R/SeriesDetrend.R
SeriesDetrend | R Documentation |
Processes the output of pretreatment_data() function to de-trend the time series.
SeriesDetrend(
series = NULL,
smoothing.yr = NULL,
detr.type = "rob.loess",
out.dir = NULL,
plot_pdf = T
)
series |
Output of pretreatment_data(). |
smoothing.yr |
Smoothing window width. |
detr.type |
Smoothing function used:
|
out.dir |
Folder to output the generated figures to. Defaults to NULL, and the figures are generated to default device instead. |
plot_pdf |
Logical. If |
A list similar to series
with additional detrended data
appended.
co <- tapas::co_char_data
co_i <- tapas::pretreatment_data(co)
co_i_detr <- tapas::SeriesDetrend(co_i, smoothing.yr = 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.