View source: R/plot_stat_over_param.R
Plot an end statistic over the values of a given parameter.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | aitoa.plot.stat.over.param(
end.result.stats,
algorithm.template,
algorithm.primary.args,
algorithm.primary.filler = .default.primary.template.filler,
algorithm.secondary.args = NULL,
algorithm.secondary.args.name = NULL,
algorithm.secondary.filler = .default.secondary.template.filler,
instances,
statistic,
instance.colors = aitoa.distinct.colors(length(instances)),
instance.lwd = .default.lwd,
instance.pch = NULL,
secondary.arg.lty = if (is.null(algorithm.secondary.args)) .default.lty else c(1L,
aitoa.distinct.lty(length(algorithm.secondary.args) - 1L)),
legend.pos = "topright",
legend.cex = .legend.cex,
legend.bg = .legend.bg,
mgp = .default.mgp,
tck = .default.tck,
cex = .default.cex,
mar = .default.mar.without.labels,
divide.by = NULL,
mark.min.fun = .default.mark.min,
x.axis.at = NULL,
full.data.required = TRUE,
...
)
|
end.result.stats |
the end result statistics frame |
algorithm.template |
the algorithm template: a string where |
algorithm.primary.args |
the values of the primary argument |
algorithm.primary.filler |
a function taking in an algorithm name
template and an argument value and returning an algorithm name. The default
replaces the string |
algorithm.secondary.args |
values of an optional secondary argument |
algorithm.secondary.args.name |
the optional name of the optional secondary argument |
algorithm.secondary.filler |
a function taking in an algorithm name
template (resulting from |
instances |
a potentially named list of instances; if names are given, the names are diplayed in the legend, otherwise the instance strings |
statistic |
the statistic to plot |
instance.colors |
the colors to use for the instances |
instance.lwd |
the line widths to be used for the instances |
instance.pch |
the symbol to be used for the instances |
secondary.arg.lty |
the line types to be used for the secondary argument |
legend.pos |
the legend position |
legend.cex |
the legend character size |
legend.bg |
the legend background |
mgp |
the mgp value |
tck |
the tck value |
cex |
the base character scaling |
mar |
the margin value |
divide.by |
optionally, a per-instance value to divide the statistic by |
mark.min.fun |
the function for marking the minima. If not
This function, if not
|
x.axis.at |
the location of the x-axis ticks: optional |
full.data.required |
if |
... |
parameters to be passed to plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.