Hi everybody,
I use table command to create a table, but I'm not satisfied with the table's output. The code and output is showed below:

Array
Array




Code:
* Example generated by -dataex-. For more info, type help dataex
clear
input long(body_type sex)
2 1
2 1
1 1
1 1
2 1
1 2
1 1
3 1
2 1
1 2
1 1
2 1
2 1
2 1
3 1
1 2
2 1
1 2
3 1
2 1
1 1
2 1
2 1
1 2
2 1
1 2
2 1
2 2
2 1
2 1
1 1
1 1
1 1
1 1
1 2
1 2
1 1
1 1
1 2
1 1
2 2
2 2
1 1
2 1
2 1
1 1
2 1
1 1
1 1
1 2
1 1
1 2
2 1
2 1
1 1
2 1
2 1
1 2
1 1
2 1
2 1
1 2
2 1
1 1
2 1
2 1
. 2
1 1
1 2
2 2
2 1
. 1
. 2
1 1
2 1
1 1
1 1
2 1
2 2
1 1
2 1
1 1
1 1
1 1
1 1
2 1
2 2
1 1
1 2
1 2
1 1
1 1
. 1
2 1
1 1
2 2
2 1
1 1
1 2
1 2
end
label values body_type body_type
label def body_type 1 "Car", modify
label def body_type 2 "SUV", modify
label def body_type 3 "MPV", modify
label values sex Y1
label def Y1 1 "男", modify
label def Y1 2 "女", modify