Returns the size of the specified group.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public int GetGroupSize( Object groupName ) |
| Visual Basic (Declaration) |
|---|
Public Function GetGroupSize ( _ groupName As Object _ ) As Integer |
| Visual C++ |
|---|
public: int GetGroupSize( Object^ groupName ) |
Parameters
- groupName
- Type: System..::.Object
A group name.
Return Value
The number of observations in group groupName.
Remarks
The array of group names can be accessed using the GroupNames
property. If this test object was constructed from a data frame using a grouping column, the
group names are the sorted, unique Factor levels created from the column values.
If this test object was constructed from a matrix or an array of vectors, the group names
are simply Group_0, Group_1...Group_n.