integer Frequency
Appends a self-contained section that reports the frequency distribution, summary statistics on the observed integer values, and a frequency bar plot.
Produces (inside a section titled caption or freq.name):
A ksl.utilities.io.report.ast.ReportNode.Paragraph summarising the observed integer range, distinct value count, total observations, and over/underflow counts.
A
DataTable("Frequency Table") with columns: Value | Label | Count | Cum Count | % | Cum %A ksl.utilities.io.report.ast.ReportNode.StatTable ("Statistics on Observed Values") built from IntegerFrequency.statistic — the explicit bridge from
IntegerFrequency(notStatisticIfc) to theStatTablenode.A ksl.utilities.io.report.ast.ReportNode.PlotNode for the frequency bar chart.
Usage:
val doc = report("Number-in-System Analysis") {
integerFrequency(serverCountFrequency)
}Parameters
the integer frequency tabulation to report
optional section title; defaults to freq.name
confidence level for the StatTable half-width and CI; must be in (0, 1)
when true (default) a ksl.utilities.io.report.ast.ReportNode.StatPropertyTable is included summarising the statistics on the observed integer values. Set to false when the statistics on the raw integer values have no meaningful interpretation — e.g. rank-frequency distributions where the frequency table and plot already tell the complete story.