TableMultiWayGetGroups Method |
Returns the number of observations (rows) in each group.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax Public Function GetGroups As Integer()
public:
array<int>^ GetGroups()
member GetGroups : unit -> int[]
Return Value
Type:
Int32
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.
See Also