renderBoxPlot

fun renderBoxPlot(sourceLabel: String, responseName: String, observations: Map<String, DoubleArray>, outputDir: Path, formats: Set<ReportFormat>, caption: String? = null, xAxisLabel: String? = null, yAxisLabel: String? = null): ComparisonReportRenderer.WriteOutcome(source)

Render a cross-experiment box plot for responseName.

Iteration order of observations is preserved end-to-end: the map's first key becomes the leftmost box, the last key the rightmost. Callers driving this from the analyzer pass the LinkedHashMap returned by ComparisonSelectionModel.gatherObservationsFor, which reflects the experiments column's top-to-bottom order.

Parameters

caption

optional caption shown beneath the plot. null (the default) yields "Cross-experiment distributions — ". Blank strings are treated as null.

xAxisLabel

optional override for the x-axis label. Defaults to "Experiment".

yAxisLabel

optional override for the y-axis label. Defaults to responseName.

formats

output formats to write. Empty produces an errors-only WriteOutcome.