Hi
I am creating a do file and have to rename and generate (gen) variables.
is there a way that I can write a variable label at the end of the gen command? like
gen secondary=1 if v106>=2 & v106~=. /*Mother any secondary*/
Thanks
I am creating a do file and have to rename and generate (gen) variables.
is there a way that I can write a variable label at the end of the gen command? like
gen secondary=1 if v106>=2 & v106~=. /*Mother any secondary*/
Thanks

Comment