Aggregate Block

Aggregate Block

The Aggregate block emits a scalar result of some aggregation function applies to an input vector.

Parameters

  • Method [Sum | Mean | Median | Min | Max]
    • Sum Emits the sum of all elements in the input vector.
    • Mean Emits the average of all elements in the input vector.
    • Median Emits the median value of all elements in the input vector. If there are two median values, it averages them.
    • Min Emits the smallest of all elements in the input vector.
    • Max Emits the largest of all elements in the input vector.

Examples

Vector aggregate example