I met a problem when writting my JMP script, I want to add the new column with a formula Y/X but there are serveal colunms and I want to add the new colunm after specified column,
For example:
A Table like:
A B C D
1 2 3 4
2 4 6 8
and I want to add a new column after B column(like below), but the B/A column will always after D when I use New Column function, and I cannot find a good function from the scripting index , how to insert a column to a specified column index?
<<New Column("B/A",formula(:B/:A));
A B B/A C D
1 2 2 3 4
2 4 2 6 8