Hi,
I am trying to remove all numbers from values levels (e.g. 1yes 2no) using the following, but it's showing "Invalid name:
Can you please suggest what might be wrong with method.
Thank you!
I am trying to remove all numbers from values levels (e.g. 1yes 2no) using the following, but it's showing "Invalid name:
Code:
foreach var of varlist * { label val `var' local newlabel : subinstr local label "0-9" "" label val `var' "`newlabel'" }
Thank you!
Comment