Constructs a grouping based on the quantile ranks.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Grouping<long> ByQuantile<T>(
IList<T> values,
int count
)
Public Shared Function ByQuantile(Of T) (
values As IList(Of T),
count As Integer
) As Grouping(Of Long)
public:
generic<typename T>
static Grouping<long long>^ ByQuantile(
IList<T>^ values,
int count
)
static member ByQuantile :
values : IList<'T> *
count : int -> Grouping<int64>
Parameters
- values
- Type: System.Collections.GenericIListT
A list that contains the values to group on. - count
- Type: SystemInt32
The number of groups to create.
Type Parameters
- T
- The element type of the list.
Return Value
Type:
GroupingInt64A grouping that divides
values into
count groups of equal size
Reference