aitoa.plot.stats.over.instance: Plot a Statistic for Different Algorthms over Instances

Description Usage Arguments

View source: R/plot_stat_over_instance.R

Description

For each instance, we can compute one x-coordinate. We than plot the given statistics of the specified algorithms over this coordinate.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
aitoa.plot.stats.over.instance(
  end.result.stats,
  algorithms,
  instance.selector = function(n) TRUE,
  instance.scaler = as.integer,
  statistic = "last.improvement.fes.mean",
  statistic.top = "last.improvement.fes.q841",
  statistic.bottom = "last.improvement.fes.q159",
  algorithms.color = aitoa.distinct.colors(length(algorithms)),
  algorithms.lty = aitoa.distinct.lty(length(algorithms)),
  algorithms.pch = aitoa.distinct.pch(length(algorithms)),
  algorithms.lwd = .default.lwd,
  statistics.bg.transparency = .default.transparency,
  legend.pos = "topleft",
  legend.cex = .legend.cex,
  legend.bg = .legend.bg,
  include.bg.stats.in.legend = TRUE,
  mgp = .default.mgp,
  tck = .default.tck,
  cex = .default.cex,
  mar = .default.mar.without.labels,
  ...
)

Arguments

end.result.stats

the end results statistics record

algorithms

the algorithms to plot, where names(algorithms) are the names, if provided

instance.selector

a function which returns TRUE of each instance to be included in the plot

instance.scaler

a function that returns the x-coordinate for a selected instance

statistic

the statistic to plot

statistic.top

a second statistic which should be bigger than statistic and together with statistic.bottom is used to shade a region behind the statistic

statistic.bottom

a second statistic which should be smaller than statistic and together with statistic.top is used to shade a region behind the statistic

algorithms.color

the colors to be used for the algorithms

algorithms.lty

the line types to be used for the algorithms

algorithms.pch

the plot characters to be used for the algorithms

algorithms.lwd

the line-widths to be used for the algorithms

statistics.bg.transparency

the transparency value (0 for transparent, 1 for normal color) used for making the region behind the statistics transparent

legend.pos

the position for the legend

legend.cex

the font size for the legend

legend.bg

the background for the legend

include.bg.stats.in.legend

should be include the background statistics into the legend?

mgp

the mgp parameter to be passed to plot

tck

the tck parameter to be passed to plot

cex

the default character scaling

mar

the default margins

...

parameters to be passed to par


thomasWeise/aitoaEvaluate documentation built on Dec. 6, 2020, 1:22 p.m.