WeightedStatTable

data class WeightedStatTable(val stats: List<WeightedStatistic>, val caption: String? = null) : ReportNode(source)

A horizontal comparison table for a List of WeightedStatistic instances.

WeightedStatistic implements ksl.utilities.statistic.WeightedStatisticIfc rather than StatisticIfc and therefore cannot flow through StatTable. Columns rendered: Name, Count, Wtd Avg, Unwtd Avg, Wtd Sum, Sum Wts, Wtd SS, Min, Max, Missing.

For reporting a single weighted statistic as a property sheet use WeightedStatPropertyTable.

Parameters

stats

the weighted statistics to tabulate; must not be empty

caption

optional table caption

Constructors

Link copied to clipboard
constructor(stats: List<WeightedStatistic>, caption: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun accept(visitor: ReportVisitor)

Double-dispatch entry point — each node calls the appropriate visitor method.