Code:
clear * cls matrix A = (2,1\3,2) cls loc rn foreach i in "City God Temple" Songjiang { // local rn `rn' `:display "`i'' di "`rn'" } matrix rownames A = "`rn'" mat l A
EDIT: Okay so I have the answer (dug up from some code in my program), but I don't get why it's correct.
Code:
clear * cls u "http://fmwww.bc.edu/repec/bocode/s/scul_Reunification.dta", clear matrix A = (2,1\3,2) levelsof country if inlist(code,20,21), l(labs) mat rownames A = `labs'
0 Response to Renaming Matrix Rows With Spaces
Post a Comment