Returns the number of observations (rows) in each group.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public int[] GetGroups() |
Visual Basic (Declaration) |
---|
Public Function GetGroups As Integer() |
Visual C++ |
---|
public: array<int>^ GetGroups() |
Return Value
A int array containing the number of observations (row) in each group.
Remarks
The number of groups is the length of the returned array. A group
contains observations in x that are equal with respect to the
method of comparison. If n contains the returned integer
array, then the first n[0] rows of the sorted x are
group number 1. The next n[1] rows of the sorted x are
group number 2, etc. The last n[n.length - 1] rows of the
sorted x are group number n.length.