createBarPlot: Create a bar plot

Description Usage Arguments Value Examples

Description

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.

Usage

1
2
createBarPlot(dt, measure, color.by = "algorithm", group.color = FALSE,
  stacked = FALSE)

Arguments

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)

Value

a plotly bar plot

Examples

1
createBarPlot(mlr.benchmark.example, "measure.mmce.test.mean")

collinleiber/benchmarkVis documentation built on May 28, 2019, 8:23 a.m.