ABSTRACT

This chapter reviews important data management tasks, including dataset structure, derived variables, and dataset manipulations.

In SAS, every data step or procedure refers to a dataset explicitly or implicitly. Any variable in that dataset is available without further reference. In R, variable references must contain the name of the object which includes the variable, unless the object is attached; see below.