Code:
// (1) numeric to string * Example generated by -dataex-. For more info, type help dataex clear input float IT 0 1 0 1 end label define it 0 "Non-IT" 1 "IT" label values IT it // (2) string to numeric * Example generated by -dataex-. For more info, type help dataex clear input str14 x "High" "Average" "Low" end label define xv 1 "High" 2 "Average" 3 "Low" encode x, gen(wanted) label(xv)
0 Response to Convert numeric to string, and vice verse.
Post a Comment