statisticCompact

fun ReportBuilder.statisticCompact(stat: StatisticIfc, caption: String? = null, confidenceLevel: Double = 0.95, detail: Boolean = false)(source)

Appends a compact single-row ksl.utilities.io.report.ast.ReportNode.StatTable for stat without wrapping it in a section.

Unlike statistic, this produces a horizontal one-row summary table (count, mean, std dev, std error, half-width, CI lower/upper, min, max) rather than a full vertical property sheet. It is the preferred form when:

  • you want one row per statistic inside an existing section, or

  • you want to show a single statistic alongside other compact tables.

Usage:

section("Response Times") {
statisticCompact(serviceTime)
statisticCompact(queueWait)
}

Parameters

stat

the statistic to show

caption

optional caption above the table

confidenceLevel

confidence level for half-width and CI columns; must be in (0, 1)

detail

true = also append a diagnostic table (skewness, kurtosis, etc.)