Aggregation.Quantile Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0

Overload List

Quantile<C>(ColumnSelector, Double) Creates a descriptor that computes quantiles of selected columns.
Quantile<C>(C, Double) Creates a descriptor that computes a quantile of the specified column.
Quantile<C>(ColumnSelector, Double, QuantileType) Creates a descriptor that computes quantiles of selected columns using the specified quantile method.
Quantile<C>(ColumnSelector, Double, Int32) Creates a descriptor that computes quantiles of selected columns using an R quantile type number.
Quantile<C>(C, Double, Int32) Creates a descriptor that computes a quantile of the specified column using an R quantile type number.
Quantile<C>(C, Double, QuantileType) Creates a descriptor that computes a quantile of the specified column using the specified quantile method.

Quantile<C>(ColumnSelector, Double)

Creates a descriptor that computes quantiles of selected columns.
C#
public static Aggregation<C, string> Quantile<C>(
	ColumnSelector selector,
	double probability
)

Parameters

selector  ColumnSelector
The selector that identifies columns to aggregate.
probability  Double
The quantile probability.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A quantile aggregation descriptor.

Exceptions

ArgumentNullExceptionselector is null.

Quantile<C>(C, Double)

Creates a descriptor that computes a quantile of the specified column.
C#
public static Aggregation<C, string> Quantile<C>(
	C key,
	double probability
)

Parameters

key  C
The key of the column to aggregate.
probability  Double
The quantile probability.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A quantile aggregation descriptor.

Exceptions

Quantile<C>(ColumnSelector, Double, QuantileType)

Creates a descriptor that computes quantiles of selected columns using the specified quantile method.
C#
public static Aggregation<C, string> Quantile<C>(
	ColumnSelector selector,
	double probability,
	QuantileType type
)

Parameters

selector  ColumnSelector
The selector that identifies columns to aggregate.
probability  Double
The quantile probability.
type  QuantileType
The quantile method.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A quantile aggregation descriptor.

Exceptions

ArgumentNullExceptionselector is null.

Quantile<C>(ColumnSelector, Double, Int32)

Creates a descriptor that computes quantiles of selected columns using an R quantile type number.
C#
public static Aggregation<C, string> Quantile<C>(
	ColumnSelector selector,
	double probability,
	int type
)

Parameters

selector  ColumnSelector
The selector that identifies columns to aggregate.
probability  Double
The quantile probability.
type  Int32
The R quantile type number.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A quantile aggregation descriptor.

Exceptions

ArgumentNullExceptionselector is null.

Quantile<C>(C, Double, Int32)

Creates a descriptor that computes a quantile of the specified column using an R quantile type number.
C#
public static Aggregation<C, string> Quantile<C>(
	C key,
	double probability,
	int type
)

Parameters

key  C
The key of the column to aggregate.
probability  Double
The quantile probability.
type  Int32
The R quantile type number.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A quantile aggregation descriptor.

Exceptions

Quantile<C>(C, Double, QuantileType)

Creates a descriptor that computes a quantile of the specified column using the specified quantile method.
C#
public static Aggregation<C, string> Quantile<C>(
	C key,
	double probability,
	QuantileType type
)

Parameters

key  C
The key of the column to aggregate.
probability  Double
The quantile probability.
type  QuantileType
The quantile method.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A quantile aggregation descriptor.

Exceptions

See Also