Hello!
I am trying to make a script combining the 2 actions of creating a subset Table and renaming column name of the subset at the same time.
I have a "Main" table and would like to create 2 subsets from it. One subset "Subset 1" with some of the columns, the other one "Subset 2" with some other columns.
This part of the script is working well but I can't get it right to rename the columns in Subset 1 and Subset 2 without having to run another script.
Could you please help ? Thank you !
Data Table( "MAIN" ) <<
Subset(
Output Table( "Subset 1" ),
Linked,
Suppress formula evaluation( 0 ),
All rows,
columns(
:"Time 1"n, :"Parameter 1"n
)
);
Data Table( "MAIN" ) <<
Subset(
Output Table( "Subset 2" ),
Linked,
Suppress formula evaluation( 0 ),
All rows,
columns(
:"Time 2"n, :"Parameter 2"n
)
);
dt1 = Open("Subset 1.jmp");
:"Time 1" << Set Name("Time");
dt2 = Open("Subset 2.jmp");
:"Time 2" << Set Name("Time");