LazStats: Fix writing data to grid in ChiSqrUnit. Fix processing of Frequency data in ChiSqrUnit.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7807 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2020-10-26 10:56:48 +00:00
parent 01c3b379c0
commit e8845a74d3
4 changed files with 237 additions and 162 deletions

View File

@ -1477,7 +1477,8 @@ begin
while not done do
begin
AReport.Add(' ' + ytitle);;
if YTitle <> '' then
AReport.Add(' ' + YTitle);;
AReport.Add('Variables');
outline := DupeString(' ', 12+1);
@ -1501,8 +1502,9 @@ begin
AReport.Add('');
first := last + 1;
end;
AReport.Add('');
//AReport.Add('');
end;
//---------------------------------------------------------------------------
procedure eigens(VAR a: DblDyneMat; Var d : DblDyneVec; n : integer);
@ -2383,7 +2385,7 @@ procedure AddVariable(AVarName: String; AData: DblDyneVec;
end;
var
i, j, colIndex, row: Integer;
i, colIndex, row: Integer;
begin
colIndex := GetVariableIndex(OS3MainFrm.DataGrid, AVarname);
if colIndex = -1 then