Identifying multiple Peaks in different batchesHello 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!
Data Exploration and VisualizationRe: Identifying multiple Peaks in different batchesThis 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
));

Re: Identifying multiple Peaks in different batchesWhich 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.