Click or drag to resize

Factor(Object, Int32, String) Constructor

Constructs a Factor instance with the specified name from the given array of factor levels, and the given data array consisting of indices into the factor levels.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public Factor(
	Object[] levels,
	int[] data,
	string name
)

Parameters

levels  Object
An array of factor levels.
data  Int32
A data array consisting of indices into the factor levels.
name  String
The factor name.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if data contains an invalid level.
See Also