plot_ecdf_acf: Plot the ECDF of ACF, PACF and CCF

Description Usage Arguments

View source: R/plotting_tools.R

Description

Plot autocorrelation of dataset1 with given lags or cross-correlation between dataset1 and dataset2 with given lags.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_ecdf_acf(
  dataset1,
  dataset2 = NULL,
  lags,
  freqs,
  corr_method = "acf",
  response = c("max", "avg"),
  name,
  ...
)

Arguments

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 dataset1 representing a different type of trace.

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, either "acf" or "pacf". When dataset2 is provided, this argument is ignored.

response

A character vector of length two representing the type of aggregation, can be either "max" or "avg"

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 write_location_check.


carlonlv/DataCenterSim documentation built on Jan. 9, 2022, 3:26 p.m.