multiRunPlot: Plot the results from multipe COBRA runs.

Description Usage Arguments Details Value Author(s) See Also

View source: R/multiRunPlot.R

Description

Plot for each run one black curve 'error vs. iterations' and aggregate the mean curve (red) and the median curve (green) of all runs. 'error' is the distance between the ever-best feasible value and optim.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
multiRunPlot(
  dfAll,
  optim = NULL,
  fName = "multiRun",
  main = "",
  xlim = NULL,
  ylim = c(1e-05, 10000),
  ylog = TRUE,
  xlog = FALSE,
  target = 0.05,
  plotPDF = FALSE,
  subPDF = NULL,
  legendWhere = "topright",
  absErr = FALSE
)

Arguments

dfAll

the data frame of all runs, obtained with multiCOBRA or loaded from .Rdata file

optim

[NULL] the true optimum (or best known value) of the problem (only for diagnostics). If optim==NULL, we plot instead of errors the ever-best feasible values.

fName

["multiRun"] the name of the .Rdata file, printed as subtitle

main

[""] the name of the problem (e.g. "G01 problem"), printed as title

xlim

the x limits

ylim

the y limits

ylog

[TRUE] logarithmic y-axis

xlog

[FALSE] logarithmic x-axis

target

[0.05] a single run meets the target, if the final error is smaller than target

plotPDF

[FALSE] if TRUE, plot to 'fName'.pdf

subPDF

[NULL] optional subdirectory where .pdf should go

legendWhere

["topright"]

absErr

[FALSE] if TRUE, plot abs(error) instead of error.

Details

Print some diagnostic information: final median & mean error, percentage of runs which meet the target (only if optim is available)).

Value

z3, a vector containing for each run the ever-best feasible objective value

Author(s)

Wolfgang Konen, Samineh Bagheri, Cologne University of Applied Sciences

See Also

multiRunPlot_2, multiCOBRA, cobraPhaseII


SACOBRA documentation built on March 26, 2020, 7:15 p.m.