Learn R Programming

irace (version 3.5)

plotAblation: Create plot from an ablation log

Description

Create plot from an ablation log

Usage

plotAblation(
  ablog,
  pdf.file = NULL,
  pdf.width = 20,
  type = c("mean", "boxplot"),
  mar = par("mar"),
  ylab = "Mean configuration cost",
  ylim = NULL,
  ...
)

Arguments

ablog

(list()|character(1)) Ablation log object returned by ablation(). Alternatively, the path to an .Rdata file, e.g., "log-ablation.Rdata", from which the object will be loaded.

pdf.file

Output filename.

pdf.width

Width provided to create the pdf file.

type

Type of plot. Supported values are "mean" and "boxplot".

mar

Vector with the margins for the ablation plot.

ylab

Label of y-axis.

ylim

Numeric vector of length 2, giving the y coordinates ranges.

...

Further graphical parameters may also be supplied as arguments. See graphics::plot.default().

Author

Leslie Pérez Cáceres and Manuel López-Ibáñez

See Also

ablation()

Examples

Run this code
logfile <- file.path(system.file(package="irace"), "exdata", "log-ablation.Rdata")
plotAblation(ablog = logfile)

Run the code above in your browser using DataLab