plot_generated_trace_diagnosis: Plot the Diagnosis of Generated Traces

Description Usage Arguments

View source: R/plotting_tools.R

Description

Plot the generated trace and the actual maximum and average to compare.

Usage

1
2
3
4
5
6
7
8
9
plot_generated_trace_diagnosis(
  generated_trace,
  max_trace,
  avg_trace,
  orig_rate,
  new_rate,
  trace_name = NULL,
  ...
)

Arguments

generated_trace

A numeric value representing generated trace.

max_trace

A numeric vector that represents the maximum trace with sample length as max_trace and same sampled rate. Used for fine tuning of the generated trace, or NULL. Default value is NULL.

avg_trace

A numeric vector that represents the average trace taken in a fixed sampled rate.

orig_rate

A numeric positive integer that is typicall smaller that the frequency of avg_trace and max_trace.

new_rate

A numeric positive integer that is typicall smaller that the frequency of avg_trace and max_trace.

trace_name

A character or NULL acting as an identifier for the trace.

...

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.