graph_trend function

Plot of original and smoothed time series.

Plot of original and smoothed time series.

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

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

Returns

The empirical correlation fo the two series

  • Maintainer: L. Leticia Ramirez-Ramirez
  • License: GPL-3
  • Last published: 2019-07-15

Useful links