new Aggregate()
The Aggregate class describes how to aggregate data, as described by a Facet into a single value.
For example, you can sum or average over numbers, or count the number of different labels.
- Source:
Extends
Members
(static) facetName :string
The name of the facet to aggregate over
- Source:
Type:
-
string
(static) normalization :string
Normalization: TODO
nonedata in same units as the original datarelativedata is in percentages of the total; for subgroups in percentage of the parent group
- Source:
Type:
-
string
(static) operation :string
Operation:
countcount the number of elements in the groupsumsum the elements in the groupavgtake the average of the elements in the groupstddevtake the sampleminminum value of the elements in the groupmaxmaximum value of the elements in the group
- Source:
Type:
-
string
(static) rank :number
When part of a aggregates, this deterimines the ordering
- Source:
Type:
-
number