Previous PageNext Page

Example 2: Subsetting every nth Observation
The MOD function is the "remainder" function in that it returns the remainder.
Data third;
Set old;
If MOD(_N_,3) = 1;
Run;

Previous PageTable Of ContentsNext Page