I want to label multiple variables using the foreach loop but whenever i enter the command below,
i get an invalid syntax error message.
Code:
sysuse auto.dta, clear foreach x of varlist make - foreign{ label variable `x' `x' "for survey one" }
Code:
invalid syntax
0 Response to Labeling multiple variables using the foreach loop
Post a Comment