Creates a factor from this column.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
Factor GetFactor( Object[] levels ) |
| Visual Basic (Declaration) |
|---|
Function GetFactor ( _ levels As Object() _ ) As Factor |
| Visual C++ |
|---|
Factor^ GetFactor( array<Object^>^ levels ) |
Parameters
- levels
- Type: array<
System..::.Object
>[]()[]
An array of factor levels.
Return Value
A factor with the given levels.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if this column contains a value that is not in levels. |