Hi Stata Team,
Here is my command:
foreach var of varlist Tech* {
local Tech_nr: subinstr local var "Tech" ""
label define Tech_label `Tech_nr' "`:variable label `var''", add
}
The issue is this. After reshaping to long, the labels have been cut because the string allowance is not long enough. How do I increase the number of string characters in the command above?
Thanks in advance!
Kind regards,
Beth
Here is my command:
foreach var of varlist Tech* {
local Tech_nr: subinstr local var "Tech" ""
label define Tech_label `Tech_nr' "`:variable label `var''", add
}
The issue is this. After reshaping to long, the labels have been cut because the string allowance is not long enough. How do I increase the number of string characters in the command above?
Thanks in advance!
Kind regards,
Beth
Comment