Survey Tabulation > Table specification syntax > Element properties > Specifying factors for existing elements
 
Specifying factors for existing elements
Displaying a mean based on factors provides an example of basing a mean on the factor values stored for the elements in the metadata. This example shows you how to specify factor values in the axis specification.
hhsize{HH_1 [Factor=1],
HH_2 [Factor=2],
HH_3 [Factor=3],
HH_4 [Factor=4],
HH_5 [Factor=5],
HH_6 [Factor=6],
HH_7 [Factor=7],
Mean 'Average number' mean()}
This example defines factors for the elements in the Household Size (hhsize) variable and creates a special mean element based on the factors you have defined.
Here is a table that has this axis on the side:
Table showing mean element calculated from factors defined for the elements of Household size variable
See also
Element properties