__declspec(property(get = GetFmtString, put = SetFmtString)) DewString FmtString;
Numeric format for ANOVA table cells.
Read:
DewString GetFmtString();Write:
void SetFmtString(const DewString &Value);Remarks:
Defines the number format used for all TMtxANOVA floating-point values.
Examples
#include "MtxVec.h"
#include "StatTools.h"
using namespace Dew;
using namespace Dew::Math;
using namespace Dew::Stats;
void Example()
{
TMtxAnova* MtxAnova1 = new TMtxAnova(nullptr);
MtxAnova1->Data->SetIt(4,4,false,DewArray<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->Recalc();
delete MtxAnova1;
}
Declared in Dew::Stats::TMtxAnova · Dew.Stats/StatTools.h · Cross-compiler