Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: renaming a label


From   "Clive Nicholas" <[email protected]>
To   [email protected]
Subject   Re: st: renaming a label
Date   Sat, 30 Oct 2004 00:04:50 +0100 (BST)

David Kantor asked:

> Is there are way to rename a value label?
>
> Suppose I have a label called countrycodes:
>   106 "Denmark"
>   109 "France"
>   110 "Germany"
> etc.
>
> But I don't want it to be named countrycodes, I want it to be named
> nativity.
>
> Is there a programmatic way to either rename or copy such a label into
> another of a different name?

There is, thanks to -labvalclone-, part of Nick Cox's -labutil- package,
and downloadable from SSC. It was mentioned in this exchange of posts,
which you can click on below:

http://www.stata.com/statalist/archive/2004-08/msg00385.html

CLIVE NICHOLAS        |t: 0(044)7903 397793
Politics              |e: [email protected]
Newcastle University  |http://www.ncl.ac.uk/geps
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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