Description Usage Arguments Value
It plots the univariate or bivariate time series and its smoothed version (trend) using ggplot. It directly uses the output of trend_estimate.
1 2 | plot_trend(smoothedTS, title = NULL, xlab = "Time",
ylab = names(dat)[1:2])
|
smoothedTS |
Is an object generated by the function trend_estimate |
title |
Main title of the graph |
xlab |
Common x label |
ylab |
A 2-length vector of characters. |
The ggplot of the original time series, their treind and its approximated 95
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.