This function is very efficient.
Lag( :height, 2 );
I've been using the other one:
:height[Index(Row()-2,Row()-2)]
@lwx228,
Thank uday_guntupalli!
I don't understand that the "Col Moving Average" formula can't be found at 1 、and it can be found at 2,
There are many other functions in JSL that are harder to complete.
@lwx228, I guess you were looking under the incorrect section when looking in the case of a column formula. Here
It will be helpful for you to get used to tapping into the resources that come with JMP. If you were to look into the Scripting Index, you would find :
Additionally, resources like the Scripting Guide provide extensive detail on each topic.
Just a few comments to add to @uday_guntupalli response: