cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Due to the recently reported Microsoft outage, users may be temporarily unable to access My JMP or experience a delay receiving their verification codes. If you have previously installed JMP on your computer, this outage should not impact your ability to access the software. My JMP services will be restored as soon as Microsoft resolves this issue.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
arenie
Level I

Count N

Hello All,

 

I am fairly new to JMP. I would like a question on a data I am working on. For some reason I need to convert the date column to Char/Nomina(as attached). I need to plot the X and Y and at X-axis being my date column while at the Y-axis I have 2 continuous parameters. My question is how to create a script where I can filter the date count if it is more/less than a certain number. For example, in this case the if the date count is less than 6, then I will exclude 20171108. Something like that. I understood that I can also use summary statistics N to do it with graph builder but I wanna do it with jsl.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
gzmorgan0
Super User (Alumni)

Re: Count N

Try this with your source data table opened.

 

Names Default to Here(1);

dt = current data table();

dt << clear select();

dtsum = dt << Summary(Group(:date), N);
//by default the sumary table is linked to the source table

dtsum << select where(:N < 6);

close(dtsum,Nosave); //no longer needed, and the rows are selected in the source

dt << exclude(1);

 

View solution in original post

2 REPLIES 2
gzmorgan0
Super User (Alumni)

Re: Count N

Try this with your source data table opened.

 

Names Default to Here(1);

dt = current data table();

dt << clear select();

dtsum = dt << Summary(Group(:date), N);
//by default the sumary table is linked to the source table

dtsum << select where(:N < 6);

close(dtsum,Nosave); //no longer needed, and the rows are selected in the source

dt << exclude(1);

 

arenie
Level I

Re: Count N

Thanks a lot, gzmorgan0. It works!

Recommended Articles