IBinaryAggregator.AggregateBy 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.4
C#
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

IVector
The result of aggregating the corresponding elements of values1 and values2 according to the groups defined by grouping.

See Also