Aggregation.Mean As Double Method
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Overload List
| Mean | Creates a descriptor that computes means of selected columns and returns Double results. |
| Mean | Creates a descriptor that computes the mean of the specified column and returns a Double result. |
MeanAsDouble<C>(ColumnSelector)
Creates a descriptor that computes means of selected columns and returns Double results.
public static Aggregation<C, string> MeanAsDouble<C>(
ColumnSelector selector
)
Parameters
- selector ColumnSelector
- The selector that identifies columns to aggregate.
Type Parameters
- C
- The type of the data frame column key.
Return Value
Aggregation<C, String>A double-valued mean aggregation descriptor.
Exceptions
| Argument | selector is null. |
MeanAsDouble<C>(C)
Creates a descriptor that computes the mean of the specified column and returns a Double result.
public static Aggregation<C, string> MeanAsDouble<C>(
C key
)
Parameters
- key C
- The key of the column to aggregate.
Type Parameters
- C
- The type of the data frame column key.
Return Value
Aggregation<C, String>A double-valued mean aggregation descriptor.
Exceptions
| Argument | key is null. |