SGDESIGN Procedure
Example 1: Creating a Graph and Subsetting the Data
| Features: |
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
data=sashelp.cars;
where Origin="Asia";
run;
| 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."
|
Copyright © SAS Institute Inc. All rights reserved.