Chapter 9. Manipulating Data with Utilities and Functions
Example 9.1 Converting Variable Types from Character to Numeric and Vice Versa 238
Example 9.2 Determining the Type of a Variable's Content 240
Example 9.3 Determining Whether a Variable Is Character or Numeric 245
Example 9.4 Specifying a Numeric or Character Format at Run Time 251
Example 9.5 Creating Columns That Contain the Attributes of Other Columns 254
Example 9.6 Sorting Variable Values within an Observation 258
Example 9.7 Shifting Nonmissing Values Left in an Observation 262
Example 9.8 Generating Random Numbers within a Range of Values 265
Example 9.9 Selecting Observations at Random from a Data Set without Replacement 268
Example 9.10 Selecting Equal-Sized Samples from Different Groups ...
Get Combining and Modifying SAS® Data Sets: Examples Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.