cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
kd_kel
Level I

Save script to data table (All objects )

How do I use the save script to data table (all object)  syntax to save a data table sorted : by a column

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Save script to data table (All objects )

Is this what you are looking for

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

obj = dt << bivariate(x(:weight),y(:Height),
	By( age )
);
obj[1] << Save ByGroup Script to data table;
Jim

View solution in original post

4 REPLIES 4
txnelson
Super User

Re: Save script to data table (All objects )

If you used 

     Tables->Sort

then the script has already been saved to the data table in the form of the Source entry in the Tables Panel.

Jim
kd_kel
Level I

Re: Save script to data table (All objects )

Thanks Nelson, 

 

how about a report grouped by: a column. The report has multiple sections grouped by a column and I need to save them all to the data table

txnelson
Super User

Re: Save script to data table (All objects )

Is this what you are looking for

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

obj = dt << bivariate(x(:weight),y(:Height),
	By( age )
);
obj[1] << Save ByGroup Script to data table;
Jim
kd_kel
Level I

Re: Save script to data table (All objects )

worked perfectly ! 

 

Thanks Nelson !