SLIDE 1
2
Contents
- Introduction
- Definition of LAG and DIF function
- LAG explained in detail
- Examples
Learning to love the SAS LAG function Phuse 9-12 October 2011 - - PowerPoint PPT Presentation
Learning to love the SAS LAG function Phuse 9-12 October 2011 Herman Ament, MSD, Oss NL Phuse 9-12 October 2011 Contents Introduction Definition of LAG and DIF function LAG explained in detail Examples 2 Introduction In
2
3
4
5
6
7
8
9
third last:
second last:
last:
third last:
second last:
last:
>----------------------------> QUEUE >----------------------> 1 is returned
10
11
third last:
second last:
last:
third last:
second last:
last:
>----------------------------> QUEUE >----------------------> 1 subtracted from 5 is returned
12
13
14
15
16
17
18
19