<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Hi,
I use the function Tabulate in my original data table to create new column. JMP give me this colum in a new data table ...
I would like now to copy this new column in my original data table.
Can i do this in a script ?
Thanks for your help !
I usually use Update() to add columns from other tables.
here is a jsl example:
dt = Open( "$SAMPLE_DATA/Car Poll.jmp" );
dt_mean = (dt << Tabulate(
Add Table(
Column Table( Analysis Columns( :age ), Statistics( Mean ) ),
Row Table( Grouping Columns( :sex, country ) )
)
)) << Make Into Data Table;
dt << Update( With( dt_mean ), Match Columns( :sex = :sex, :country = country ) );