Tables and axes > Include and substitution > Grid tables > Options in grid axes
 
Options in grid axes
All options valid on n statements can be used in grid axes, with the exception of rej=.
Incs in grid axes can be specified in two ways. The first is to use the standard notation, for example:
inc=c(a00,a01)
The second is to define it with a number, and then to call it up using that number. On the column n01 statement the column whose contents are to be used as the increment is identified with the option:
inc(n)=arithmetic_expression
where n is a whole number. Then, it is called up on an n25 as follows:
n25;inc=inc(n)
To illustrate this, go back to the rating question discussed at the beginning of the Grid axes section. Respondents have been asked to rate four products on a scale of 1 (Excellent) to 5 (Very poor), and you want to calculate a mean score.
The axis you would write to do this is as follows:
l rates
n01Brand A;col(a)=134;inc(1)=c134
n01Brand B;col(a)=135;inc(1)=c135
n01Brand C;col(a)=136;inc(1)=c136
n01Brand D;col(a)=137;inc(1)=c137
side
col a00;Base;Excellent;Very Good;Satisfactory;Poor;Very poor
n25;inc=inc(1)
n12Mean Score
See also
Grid tables