graph_trend: Plot of original and smoothed time series.

Description Usage Arguments Value

View source: R/graph_trend.R

Description

It plots the univariate or bivariate. This function is not intended for users but to be called by trend_estimate.

Usage

1
2
graph_trend(dat, N, tau, dvar, label = NULL, jump = 1:N,
  bands = TRUE, las, bivariate = TRUE)

Arguments

dat

is a 2x2 covariace matrix

N

the number of observations

tau

the smoothed time series

dvar

the estimated variance for tau

label

the vectors of caracters associated to the time points to appear in the axis

jump

if label is too long, jump thin them on the axis

bands

is TRUE to draw the approximately 95% confidence bands around tau

las

is 1 and 2 if the asis should appear vertical and horizontal, respectively

bivariate

is FALSE if dat is a univariate time series

Value

The empirical correlation fo the two series


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