Control indicator column options using JSLHi All,
If I would like to make a multi-response column into indicator columns, the Cols->Utilities->Make Indicator Columns provide column name and missing value options to construct desired columns. How should I contral those two options using JSL?
I have an example from Scripting index
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Animals.jmp" );
dt << Make Indicator Columns( columns( {:season} ) );However, there is no futher information to control those options.
Any ideas are appriciated : )
Best
Re: Control indicator column options using JSLHi Jim,
That works perfectly. Thank you for your prompt reply, it always helps.
BestRe: Control indicator column options using JSLTypically, you can refer to the interactive functionality to find how to do this. So in this case, just using the exactly same wording the options can be invoked
dt << Make Indicator Columns( columns( {:season} ), append column name(1), include missing(1) );