cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar
Hegedus
Level IV

Newbie Question extracting values from a report

Hi,

I am trying to come up to speed on extracting values from a report called by a script.

To test things out I create two simple columns and do a fit and I am trying to extract the intercept from the estimate just so I know what I am doing.

Test=Bivariate(

  Y( :Column 2 ),

  X( :Column 1 ),

  Fit Line( {Line Color( {208, 64, 86} )} )

);

r=test<<report;

fred=r[outlinebox("Linear Fit"),Outlinebox("Parameter Estimates"),ColBox("Estimate")[1]]<<get(1);

show(fred);


I am trying (obviously unsuccessfully) to follow the example in the manual and I am getting an error as show in the log window

index{100} in access or evaluation of 'Get' , Get( 1 ) /*###*/



What should this test script look like?


10 REPLIES 10

Re: Newbie Question extracting values from a report

Perfect, thanks.