plot_trend {TSsmoothing}R Documentation

Plot fo the time series and its smoothed version in ggplo

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

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


[Package TSsmoothing version 0.1.0 Index]