Bookmark and Share

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]

st: How to rename a list of all consecutive variables in a data set?


From   Eleonora Paesen <[email protected]>
To   [email protected]
Subject   st: How to rename a list of all consecutive variables in a data set?
Date   Fri, 7 Jan 2011 11:41:38 +0000

Hello,

Does anyone know how to rename a list of consecutive variables
included in a dataset (as they are ordered in it)?
I have tried this:
rename varalpha-varomega newvaralpha-newvaromega
It does not work.

Many thanks for your help!

Eleonora
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index