| TwoWayAnovaBaseMakeCellData Method |
Fills in the cell data for a two way ANOVA from the given data frame and
column information.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax protected bool MakeCellData(
DataFrame data,
int factorAColIndex,
int factorBColIndex,
int dataColIndex,
bool requireBalancedData = true
)
Protected Function MakeCellData (
data As DataFrame,
factorAColIndex As Integer,
factorBColIndex As Integer,
dataColIndex As Integer,
Optional requireBalancedData As Boolean = true
) As Boolean
protected:
bool MakeCellData(
DataFrame^ data,
int factorAColIndex,
int factorBColIndex,
int dataColIndex,
bool requireBalancedData = true
)
member MakeCellData :
data : DataFrame *
factorAColIndex : int *
factorBColIndex : int *
dataColIndex : int *
?requireBalancedData : bool
(* Defaults:
let _requireBalancedData = defaultArg requireBalancedData true
*)
-> bool
Parameters
- data DataFrame
- The ANOVA data.
- factorAColIndex Int32
- Index into the data for the column containing
factor A data.
- factorBColIndex Int32
- Index into the data for the column containing
factor B data.
- dataColIndex Int32
- Index into the data for the column containing
observed dependent data.
- requireBalancedData Boolean (Optional)
- If true an exception is thrown if unbalanced data
is detected (balanced == all cell have the same number of observations).
Return Value
Booleantrue if the data is unbalanced.
Exceptions Exception | Condition |
---|
NMathException | Thrown if requireBalancedData is true and
unbalanced data is detected. |
See Also