plot_ecdf_data: Plot the ECDF of data

Description Usage Arguments

View source: R/plotting_tools.R

Description

Plot data points of dataset with given window sizes using ECDF or Histogram.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_ecdf_data(
  dataset,
  window_size,
  ecdf_or_hist = TRUE,
  mean_or_median = TRUE,
  response = "max",
  cores,
  name,
  ...
)

Arguments

dataset

A numeric dataframe or matrix with each column as a trace.

window_size

A numeric vector representing the window size of observations to be aggregated.

ecdf_or_hist

A boolean representing the type of plot to be generated, TRUE means Emprical CDF, FALSE means histogram.

mean_or_median

A boolean representing the type of aggregation across differenrt traces are used, TRUE means using mean, FALSE means using median.

response

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

cores

A numeric value representing the number of threads for parallel programming, not supported for windows users.

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.