The SIM2D Procedure |
GRID Statement |
The following options can be used to specify the grid of spatial locations at which to perform the simulations. A single GRID statement is required and is applied to all SIMULATE statements.
There are two basic methods for specifying the grid. You can specify the and coordinates explicitly, or they can be read from a SAS data set.
The options for the explicit specification of grid locations are as follows.
specifies the coordinate of the grid locations.
For example, the following two GRID statements are equivalent:
grid x=1,2,3,4,5 y=0,2,4,6,8,10;
grid x=1 to 5 y=0 to 10 by 2;
To specify grid locations from a SAS data set, you must provide the name of the data set and the variables containing the values of the and coordinates.
specifies a SAS data set containing the and grid coordinates.
gives the name of the variable containing the coordinate of the grid locations in the GRIDDATA= data set.
gives the name of the variable containing the coordinate of the grid locations in the GRIDDATA= data set.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.