AnovaModel.GetFactor Method

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

GetFactor(Int32) Gets the factor corresponding to the variable with the specified index.
GetFactor<T>(Int32) Gets the strongly typed factor corresponding to the variable at the specified position.

GetFactor(Int32)

Gets the factor corresponding to the variable with the specified index.
C#
public IIndex GetFactor(
	int index
)

Parameters

index  Int32
Zero-based index of the variable.

Return Value

IIndex
An index.

Remarks

A factor is a set of values that a categorical variable can assume. This method returns the IIndex associated with the indexth variable in the ANOVA model.

GetFactor<T>(Int32)

Gets the strongly typed factor corresponding to the variable at the specified position.
C#
public Index<T> GetFactor<T>(
	int index
)

Parameters

index  Int32
Zero-based index of the variable.

Type Parameters

T
The type of the keys of the index.

Return Value

Index<T>
An index.

Remarks

A factor is a set of values that a categorical variable can assume. This method returns the Index<T> associated with the indexth variable in the ANOVA model.

See Also