WeightedStatPropertyTable

data class WeightedStatPropertyTable(val stat: WeightedStatistic, val caption: String? = null) : ReportNode(source)

A vertical Property | Value property sheet for a single WeightedStatistic.

The weighted-statistic analogue of StatPropertyTable. Renders a two-column table whose rows are the 9 named properties of one WeightedStatistic: Count, Weighted Average, Unweighted Average, Weighted Sum, Sum of Weights, Weighted Sum of Squares, Min, Max, Missing.

For reporting many weighted statistics side-by-side use WeightedStatTable.

Parameters

stat

the single weighted statistic to display

caption

optional table caption; defaults to stat.name

Constructors

Link copied to clipboard
constructor(stat: 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.