IVector.AsCategorical Method

Converts the vector to a categorical vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
ICategoricalVector AsCategorical()

Return Value

ICategoricalVector
A vector containing the same data stored as a categorical vector.

Remarks

If the vector is already categorical, the same vector is returned unchanged.

See Also