How to assign a list of values to specific list of rows (without for loop)Is there a way to assign a list of values to specific rows in a column without for loop ?
For instance, is it possible to assign the "new values" in the script below to row 1,5,7 on the Weight column ?
The script below doesn't work. I know one of the way to do this is to use for loop, but I wonder if there are other methods without for loops.
</CODE></PRE><PRE>dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
index = [1,5,7];
new values = [11,22,33];
dt:weight[index] = new values;</PRE><PRE><CODE class="">
Advanced Statistical ModelingAutomation and ScriptingDesign of ExperimentsRe: How to assign a list of values to specific list of rows (without for loop)Fantastic @jthi !! Learn something new today 
Re: How to assign a list of values to specific list of rows (without for loop)No need to loop. This should work:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
index = [1, 5, 7];
new values = [11, 22, 33];
dt[index, "weight"] = new values;Used this great source as reference