graph_trend {TSsmoothing} | R Documentation |
Plot of original and smoothed time series.
Description
It plots the univariate or bivariate. This function is not intended for users but to be called by trend_estimate.
Usage
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
[Package TSsmoothing version 0.1.0 Index]