Hi,
I have a loop for unique row values where I create a subset and a graph for each loop. How can I create and store unique object names for the each subset and graph created? Thanks for your help. I am using JMP11.
// Example.
Names Default To Here( 1 );
dt = Open( Convert File Path( "$Sample_Data" ) || "Big Class.jmp" );
ages = Associative Array( :age );
currentkey = ages << First;
For( i = 1, i <= N Items( ages ), i++,
nextkey = ages << Next( currentkey );
dt << Select Where( :age == currentkey );
sub = dt << Subset( Output Table Name( "Subset " || Char( currentkey ) ) );
// How can I create and store a unique object name for sub?
dt << Clear Select;
biv = sub << Bivariate( Y( :height ), X( :weight ) );
// How can I create and store a unique object name for biv?
currentkey = nextkey;
);
Close( dt, No Save );