Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: loop to rename vars


From   "José Luis Chávez Calva" <[email protected]>
To   [email protected]
Subject   Re: st: loop to rename vars
Date   Thu, 9 Oct 2008 22:38:06 -0500

Hi,
I would use forvalue. Check in the help.


2008/10/9 mai7777 <[email protected]>:
> Hi,
> How can I loop over vars to rename them by their order number.
> so they become var1, var2, var3...?
> Thanks
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index