cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

Identifying multiple Peaks in different batches

Hello everyone, 

I have a data set similar to the one in the example below, but the length-time profiles are assigned to different batches indicated by an additional column with the batch nr.

Solved: find multiple peak values in a column - JMP User Community

 

Is there a way to adapt the peak detection column formula in the thread above to perform the peak identification for each batch?

Thanks in advance!

2 REPLIES 2
jthi
Super User

Re: Identifying multiple Peaks in different batches

Which JMP version are you using (JMP17/18? JMP Standard / JMP Pro?) as there might be jmp platforms to do this. Column formula could also be modified by adding additional check for the batch changes.

-Jarmo
jthi
Super User

Re: Identifying multiple Peaks in different batches

This is one possible formula option (:B is group column)

New column("Peak", Numeric, Nominal, Formula(
	prev_val = Col Moving Average(:Length, 1, 1, 0, :B) * 2 - :Length;
	next_val = Col Moving Average(:Length, 1, 0, 1, :B) * 2 - :Length;
	
	:Length - prev_val > 0 & :Length - next_val > 0
));

jthi_0-1717487573127.png

 

 

-Jarmo

Recommended Articles