IBinary Aggregator.Aggregate By Method
Aggregates the elements of a data frame column according to the specified
grouping and returns the result in an existing vector.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The result of aggregating the corresponding elements of values1 and values2 according to the groups defined by grouping.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
IVector AggregateBy(
IVector values1,
IVector values2,
IGrouping grouping,
IVector? result
)
Parameters
- values1 IVector
- A vector holding the first set of values.
- values2 IVector
- A vector holding the second set of values.
- grouping IGrouping
- The object that specifies the grouping.
- result IVector
- The data frame column that is to hold the result.
Return Value
IVectorThe result of aggregating the corresponding elements of values1 and values2 according to the groups defined by grouping.