|
Stats Master VCL
|
Numeric format for ANOVA table cells.
property FmtString: String;
Defines the number format used for all TMtxANOVA floating-point values.
In the following example we do two-way ANOVA with two rows per group and set default format for numbers to '0.000000' i.e. 6 digits.
MtxAnova1.Data.SetIt(4,4,false,[1,2,3,4,
3,4,5,6,
1,5,11,13,
4,7,9,10]);
MtxAnova1.FmtString := '0.000000'; // < - - 6 digits
MtxAnova1.IsAnova1 := false; //do two-way ANOVA
MtxAnova1.Replications := 2; //two rows per "group"
MtxAnova1.ResultDest := StringGrid1;
MtxAnova1.Recalc;MtxAnova1->Data->SetIt(4,4,false,OPENARRAY(double,(1,2,3,4, 3,4,5,6, 1,5,11,13, 4,7,9,10))); MtxAnova1->FmtString = "0.000000"; // < - - 6 digits MtxAnova1->IsAnova1 = false; //do two-way ANOVA MtxAnova1->Replications = 2; //two rows per "group" MtxAnova1->ResultDest = StringGrid1; MtxAnova1->Recalc();
|
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|