How to calculate 'slope' or gradient
I am looking for a way to calculate the slope or gradient of data. I need to do the same function as slope (X1:X4, Y1:Y4) in excel but to be able to program it into a jmp script.
Regards
Steve