How do I use the save script to data table (all object) syntax to save a data table sorted : by a column
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;
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.
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
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;
worked perfectly !
Thanks Nelson !