View source: R/plot_stat_over_instance.R
For each instance, we can compute one x-coordinate. We than plot the given statistics of the specified algorithms over this coordinate.
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,
...
)
|
end.result.stats |
the end results statistics record |
algorithms |
the algorithms to plot, where |
instance.selector |
a function which returns |
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.bottom |
a second statistic which should be smaller than
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.