to Time Series Report
fun KSLDatabase.toTimeSeriesReport(expName: String, responseName: String? = null, title: String = if (responseName == null) "Time Series — $expName"
else "Time Series — $responseName ($expName)", confidenceLevel: Double = 0.95, showPlots: Boolean = true): ReportNode.Document(source)
Builds a ReportNode.Document of the stored time-series data for one experiment.
When responseName is supplied, the document contains the per-replication overlay and the across-replication summary for that response. When it is null (the default), the document contains one across-replication summary per distinct time-series response recorded for the experiment.
Zero-code path:
val db = KSLDatabase("pharmacy.db")
db.toTimeSeriesReport("Experiment 1", "HourlyThroughput").showInBrowser()
db.toTimeSeriesReport("Experiment 1").writeMarkdown() // every time-series responseContent copied to clipboard
Return
the assembled ReportNode.Document
Parameters
exp Name
the experiment to report
response Name
a single time-series response, or null for all of them
title
document title; defaults to "Time Series —
confidence Level
confidence level for the per-period tables; default 0.95
show Plots
when true (default) include the plots