Click or drag to resize

TwoWayAnovaBase(DataFrame, Int32, Int32, Int32) Constructor

Constructs a TwoWayAnova instance from data in the given data frame.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public TwoWayAnovaBase(
	DataFrame data,
	int factorAColIndex,
	int factorBColIndex,
	int dataColIndex
)

Parameters

data  DataFrame
A data frame.
factorAColIndex  Int32
The index of the column for Factor A.
factorBColIndex  Int32
The index of the column for Factor B.
dataColIndex  Int32
The index of the data column. The indicated column must be numeric and cannot contain missing values.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if the data column contains missing values (NaNs) or the data cannot be converted into numeric values.
Remarks
Factors are constructed from the factor columns using the DataFrame method GetFactor(), which creates a sorted array of the unique values.
See Also