cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Tzu-Chun
Level III

Control indicator column options using JSL

Hi 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?Capture.JPG

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

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Control indicator column options using JSL

Typically, 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) );
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Control indicator column options using JSL

Typically, 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) );
Jim
Tzu-Chun
Level III

Re: Control indicator column options using JSL

Hi Jim,

That works perfectly. Thank you for your prompt reply, it always helps.

Best

Recommended Articles