SGDESIGN Procedure

Example 1: Creating a Graph and Subsetting the Data


WHERE statement

This example uses a WHERE statement to subset the data. The example assumes the existence of a graph named CarsLattice.sgd that was created based on the SASHELP.CARS data set.
Although a data set has already been defined for the SGD file, you must specify the data set in the procedure when you use the WHERE statement.
proc sgdesign sgd="CarsLattice.sgd"1; 
   where Origin="Asia";
1 Specify the path and name that you used when you saved the SGD file. For example, the path might be "C:\SGDFiles\CarsLattice.sgd."