View source: R/plotting_tools.R
Plot correlation of dataset1
with given lags or cross-correlation between dataset1
and dataset2
with given lags.
1 2 3 4 5 6 7 8 9 10 11 12 |
dataset1 |
A numeric dataframe or matrix with each column as a trace of type 1. |
dataset2 |
A numeric dataframe or matrix with same dimension as |
lags |
A numeric vector representing the lag of autocorrelations or cross-correlations. |
freqs |
A numeric vector representing the window size of observations to be aggregated. |
corr_method |
A character representing the type of correlation to be calculated. |
response |
A character vector of length two representing the type of aggregation, can be either |
diffs |
A numeric vector of length two representing the order of differences on |
diff_lags |
A numeric vector of length two representing which lag to use when differencing on |
name |
A character that represents the identifier or name of the plot. |
... |
Characters that represent the name of parent directories that will be passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.