O'Reilly logo

Combining and Modifying SAS® Data Sets: Examples Second Edition by Michele M. Burlew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Combining Data Sets Vertically: Concatenating, Interleaving, and Appending Data Sets

Example 2.1 Concatenating Data Sets 14

Example 2.2 Interleaving Observations from Two or More Data Sets Based on a Common Variable 17

Example 2.3 Appending One Data Set to the End of Another Data Set 20

Example 2.4 Selecting Unique Rows When Concatenating Tables 23

Example 2.5 Selecting Rows in Common When Concatenating Tables 26

Example 2.6 Selecting Observations Unique to Each Data Set When Concatenating Data Sets 28

When you combine data sets vertically, you concatenate the data sets one after another, or you interleave observations from the data sets in order by one or more variables. Observations are not combined side-by-side horizontally or overlaid. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required