plot_sim_charwise: Automatically Detect Parameters in Charwise Summary

Description Usage Arguments

View source: R/plotting_tools.R

Description

Only used for charwise summary dataframe, used for creating mapping for aesthetics for platting using plot_sim_charwise.

Plot charwise result for simulation with each datapoint corresponds to average scores of all traces with one configuration.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
auto_detect_parameters(charwise_summ)

plot_sim_charwise(
  charwise_summ,
  mapping = list(shape = "window_size", alpha = "train_size", fill = "train_policy",
    color = "name"),
  adjusted = FALSE,
  point_or_line = NA,
  name,
  ...
)

Arguments

charwise_summ

A dataframe containing the scores in all parameter settings and their performance.

mapping

A named list with keys representing graphical aesthetics parameters and values represetning columnames of charwise_summ to be mapped to.

adjusted

A logical value representing whether to use adjusted score for plotting. Default value is FALSE.

point_or_line

A logical value represening whether to plot dots or lines. If NA is supplied, then both lines and dots will be plotted. Default value is NA.

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.