Hi,
I have a script with generates an additional datatable and an analysis. I would like the additional data table to be hidden after its generated but not closed as I want the analysis to be open. Is there a command in the script to do this?
Regards,
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Brandon,
You will need to set the boolean option for Invisible to 1.
Under help select scripting index. Type invisible in the search and look at the entry for ColBox for additional information.
See below for an example.
Stan
dt =Open( "$SAMPLE_DATA/Big Class.jmp");
fitModelPlt = Fit Model(
Y( :height ),
Effects( :age, :weight ),
Personality( Standard Least Squares ),
Emphasis( Effect Leverage ),
Run(
:height << {Lack of Fit( 0 ), Plot Actual by Predicted( 1 ),
Plot Residual by Predicted( 1 ), Plot Effect Leverage( 1 )}
),
Where( :sex == "F" )
);
fitRpt = Report (fitModelPlt)[Table Box(5)];
tbl = fitRpt << Make Combined Data Table (Invisible(1)) ;
tbl << Set Name("fit_estimates");
Add << show window(0) to the end of your expression. << show window(1) will make the table visible again.
combinedTbl = Report(fitModelPlt[1])["Effect?"][Table Box(1)]
<< Make Combined Data Table << show window(0);
How would I do that with a data table created with this code:
combinedTbl = Report(fitModelPlt[1])["Effect?"][Table Box(1)] << Make Combined Data Table;
Hello Brandon,
You can use the invisible option. Invisible keeps the table hidden from view but available in the JMP home window.
dt =Open( "$SAMPLE_DATA/Big Class.jmp", invisible );