How to multiple select rows with specific values in one column and subset by JSL?

Reply
New Contributor
Posts: 3

How to multiple select rows with specific values in one column and subset by JSL?

Dear guys,the thing is like this,I have a string like "PCO1,PCO2,PCO3,PCO4...........PCOn',

and in my raw data,there is a column called 'PCO',

now I want to select all the rows which has a value of 'PCO' equal to PCO1,PCO2,and PCO3,and make all the selected rows into a sub set,how can I do it?

I have writed a script,and dont know whats wrong with it.

PCO_CONDITION = {"PCO1","PCO2"};

for (i=1,i<=n items(PCO_CONDITION),i++,

  data_table<<select where (Smiley TongueCO == PCO_CONDITION)

);

dt=data_table<<subset (selected rows);

print (PCO);

Respected Advisor
Posts: 4,919

Re: How to multiple select rows with specific values in one column and subset by JSL?

Please submit your JMP question to the JMP Forum:

Space: Discussions | JMP User

PG
Ask a Question
Discussion stats
  • 1 reply
  • 434 views
  • 0 likes
  • 2 in conversation