Chapter Contents

Previous

Next
The G4GRID Procedure

Example 1: Output Volume Grid Ranging from Minimum to Maximum


Assume that data set MYLIB.SAMPLE contains the variables MY_X, MY_Y, and MY_Z. At each x,y,z coordinate location specified by these variables, there is a value for the response variable RANDAT. Furthermore, there are multiple groups of these values specified by the BY variable BYIT.

To create a data set with an output volume grid that ranges from the minimum to the maximum along each coordinate for each BY group, you could use the following syntax:

proc g4grid data=mylib.sample;
    grid my_x*my_y*my_z=randat / nxaxis=5 nyaxis=5 nzaxis=5;
    by byit;
run;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.