You are here: Symbol Reference > StatTools Namespace > Classes > TMtxAnova Class > TMtxAnova Methods > TMtxAnova.WriteResultToStrings Method
Stats Master VCL
ContentsIndex
PreviousUpNext
TMtxAnova.WriteResultToStrings Method

Outputs results to string list.

Pascal
procedure WriteResultToStrings(DestStrings: TStrings; Delimiter: string = kTab);

Outputs standard ANOVA table to DestStrings. ANOVA table columns are separated by Delimiter (default value kTab - meaning tab char is the delimiter).

In this example we write ANOVA table to Memo1.

MtxANOVA1.Data.SetIt(6,2,false,[1,2,
                            2,3,
                            5,7,
                            12,1,
                            5,8,
                            3,8]);
MtxANOVA1.FmtString := '0.00'; // 2 digits
MtxANOVA1.IsAnova1 := true; // do one-way ANOVA
MtxANOVA1.Recalc;
Memo1.Lines.Clear;
MtxANOVA1.WriteResultToStrings(Memo1.Lines);
MtxAnova1->Data->SetIt(6,2,false,OPENARRAY(double,(1,2,
                            2,3,
                            5,7,
                            12,1,
                            5,8,
                            3,8)));
MtxAnova1->FmtString = "0.00"; // 2 digits
MtxAnova1->IsAnova1 = true; // one-way ANOVA
MtxAnova1->Recalc();
MtxAnova1->WriteResultToStrings(Memo1->Lines);
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!