It plots the univariate or bivariate time series and its smoothed version (trend) using ggplot. It directly uses the output of trend_estimate.
plot_trend(smoothedTS, title = NULL, xlab = "Time",
ylab = names(dat)[1:2])
Is an object generated by the function trend_estimate
Main title of the graph
Common x label
A 2-length vector of characters.
The ggplot of the original time series, their treind and its approximated 95