我有一個多雙變量圖,想將所有組擬合模型匯總到數據表中。
腳本在指向一個組時工作,但在指向多個組時不工作
感謝是否有人可以提供幫助。 謝謝
可以輸出一組數據表的腳本
Names Default To Here( 1 );
dt = Data Table( "ReportSummary" );
biv = dt << Bivariate(
Y( :Reference_A ),
X( :Reference_B ),
Fit Line( {Line Color( {212, 73, 88} )} ),
Fit Special(
Intercept( 0 ),
Slope( 1 ),
Centered Polynomial( 0 ),
{Line Color( {61, 174, 70} )}
),
Where( :Label == "FrequencyA" )
);
reportbiv = biv << Report;
dt = reportbiv["Summary of Fit"][1] << make combined data table;指向多組時無輸出數據表
Names Default To Here( 1 );
dt = Data Table( "ReportSummary" );
biv = dt << Bivariate(
Y( :Reference_A ),
X( :Reference_B ),
Fit Line( {Line Color( {212, 73, 88} )} ),
Fit Special(
Intercept( 0 ),
Slope( 1 ),
Centered Polynomial( 0 ),
{Line Color( {61, 174, 70} )}
),
By( :Label ) /*Contained multiple group*/
);
reportbiv = biv << Report;
dt = reportbiv["Summary of Fit"][1] << make combined data table;Bivariate 報表為 By 組的每個水平生成一個單獨的輸出對象。因此,需要引用報告結構的每個級別。如果將 JSL 更改為以下,它將指向第一個多級報告結構並生成輸出數據表
reportbiv = biv[1] << Report;
dt = reportbiv["Summary of Fit"][1] << make combined data table;