plot_trend: Plot fo the time series and its smoothed version in ggplo

Description Usage Arguments Value

View source: R/plot_trend.R

Description

It plots the univariate or bivariate time series and its smoothed version (trend) using ggplot. It directly uses the output of trend_estimate.

Usage

1
2
plot_trend(smoothedTS, title = NULL, xlab = "Time",
  ylab = names(dat)[1:2])

Arguments

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.

Value

The ggplot of the original time series, their treind and its approximated 95


TSsmoothing documentation built on July 15, 2019, 5:01 p.m.