Description Usage Arguments Value Examples
Create a plotly bar plot out of a benchmarkVis compatible data table. The created bar plot shows the measure result for each benchmark entry. x-Axis: the measure. y-Axis: the benchmark entries.
1 2 | createBarPlot(dt, measure, color.by = "algorithm", group.color = FALSE,
stacked = FALSE)
|
dt |
compatible data table |
measure |
the column name containing the results of a measure |
color.by |
the column to color the bars with. Possibilities: "algorithm", "problem", "replication" (default: "algorithm") |
group.color |
instead of coloring the column specified by color.by it will be grouped. Color will be chosen from the remaining main columns instead (default: FALSE) |
stacked |
defines if the grouped bars should be stacked. Just working with "group.color" = TRUE (default: FALSE) |
a plotly bar plot
1 | createBarPlot(mlr.benchmark.example, "measure.mmce.test.mean")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.