Returns the number of observations (rows) in each group.
A int
array containing the number of observations (row) in each group.
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
.
TableMultiWay Class | Imsl.Stat Namespace