Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: How to run a loop on labels
From
daniel klein <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: How to run a loop on labels
Date
Wed, 3 Jul 2013 17:58:47 +0200
Also see Nick's (Cox, that is) -labvarch- part of his -labutil-
package from the SSC archives.
Best
Daniel
--
I have a list of variables' names and corresponding labels:
x1 label: Total duration in 1
[...]
z2 label: Total costs in 2
1 corresponds to Administrative Office, and 2 to Economic Department.
How can I substitute the 1 with Administrative Office in all the
labels of variables that end with 1? [...]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/