Package io.deephaven.web.client.api.agg
Class WAvg
java.lang.Object
io.deephaven.web.client.api.agg.Aggregation
io.deephaven.web.client.api.agg.ColumnAggregation
io.deephaven.web.client.api.agg.WAvg
Computes the weighted average within each aggregation group. Each input value is multiplied by the corresponding
weight, and the result is the sum of weighted values divided by the sum of weights.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @TsLiteral StringThe column to use as the source of weights for the weighted average calculation.Fields inherited from class io.deephaven.web.client.api.agg.ColumnAggregation
columns -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.deephaven.web.client.api.agg.Aggregation
AggAbsSum, AggApproxPct, AggAvg, AggCount, AggCountDistinct, AggCountWhere, AggDistinct, AggFirst, AggFirstRowKey, AggFormula, AggFreeze, AggGroup, AggLast, AggLastRowKey, AggMax, AggMed, AggMin, AggPartition, AggPct, AggSortedFirst, AggSortedLast, AggStd, AggSum, AggTDigest, AggUnique, AggVar, AggWAvg, AggWSum
-
Field Details
-
type
- See Also:
-
weightColumn
The column to use as the source of weights for the weighted average calculation.
-
-
Constructor Details
-
WAvg
public WAvg()
-