,
I want to transport the
follwoing data sample
( column into row
)
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by - dataex-. To install: ssc install dataex clear input byte aggrement_assurance float ( p_freq_cust_satifi_ass_cctv p_freq_cust_satifi_ass_dripolite p_freq_cust_satifi_ass_driskill p_freq_cust_satifi_ass_pickpock p_freq_cust_satifi_ass_comfot) 1 1. 55 2.06 1.55 20. 62 8.25 2 3. 09 13.4 10.82 40.21 28.87 3 21.65 52.06 54.12 24.74 44.85 4 61.34 28.87 32.99 11.86 17.53 5 12.37 3.61 .52 2.58 .52 end label values aggrement_assurance cust_satifi_ass_cctv label def cust_satifi_ass_cctv 1 "strongly disagreed", modify label def cust_satifi_ass_cctv 2 " disagreed", modify label def cust_satifi_ass_cctv 3 "Neutral", modify label def cust_satifi_ass_cctv 4 " Agreed", modify label def cust_satifi_ass_cctv 5 "Strongly Agreed", modify
I want to like that
way
aggrement_assurance | strongly disagreed | disagreed | Neutral | Agreed | Strongly Agreed |
p_freq_cust_satifi_ass_cctv | 1.55 | 3. 09 |
21.65 | 61.34 | 12.37 |
p_freq_cust_satifi_ass_dripolite | 2.06 | 13.4 | 52.06 | 28.87 | 3.61 |
p_freq_cust_satifi_ass_driskill | 1.55 | 10.82 | 54.12 | 32.99 | 0.52 |
p_freq_cust_satifi_ass_pickpock | 20.62 | 40.21 | 24.74 | 11.86 | 2.58 |
p_freq_cust_satifi_ass_comfot | 8.25 | 28.87 | 44.85 | 17.53 | 0.52 |
0 Response to Convert column into row
Post a Comment