Advanced tables and statistics > Row and table manipulation > Row manipulation > An example of row manipulation
 
An example of row manipulation
This example shows some of the more usual tasks you might accomplish with table manipulation. The table was created by the statement:
tab manax bk01
where manax is as follows:
l manax
col 109;Base;Single;%id=r1;Married;%id=r2
mSingle / Married;dec=4;ex=r1 / r2
mMarried / Single;ex=#3 / #2
mSingle + Married;ex=@4 + @3
n03
n00;c=c125'1'
n01People Who Bought Bread
n01Number of Loaves Bought;inc=c(250,251)
mLoaves Bought Per Person;ex=#9 / @2
n01Loaves Bought Last Month;inc=c(132,133)
mLoaves Bought Per Person Last Month;ex=@1 / 'People'
                                  
Base    
Male    
Female  
Base
200
44
156
Single
44
6
38
Married
122
27
95
Single / Married
.3607
.2222
.4000
Married / Single
3
5
3
Single + Married
166
33
133
 
 
 
 
People who Bought Bread
190
44
146
Number of Loaves Bought
1182
263
919
Loaves Bought Per Person
6
6
6
Loaves Bought Last Month
2988
720
2268
Loaves Bought Per Person
 Last Month
16
16
16
See also
Row manipulation