I've a multiple bivariate plot and would like to make all group fit model summary into data table.
Script is working when it's pointing to one group but not working when point to multiple group
Appreciate if anyone could help on this. Thanks
Script able to output data table for one group
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;
No output data table while pointing to multiple group
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;