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

st: -labvalclone- added to -labutil- package on SSC


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: -labvalclone- added to -labutil- package on SSC
Date   Sun, 3 Nov 2002 19:34:28 -0000

Thanks to Kit Baum, a -labvalclone- program has been 
added to the -labutil- package on SSC. 

A previous version of this program was posted 
to Statalist on Friday in response to a question
from Roger Harbord. 

-labvalclone- clones the value labels with name vallblname 
as a new set of value labels with name newvallblname.  
This might be useful if you want to use almost the same 
labels as an existing set, so that 
you first want a copy of the labels, which you can then modify.

This command uses -file-, introduced into Stata 7 on 8 May 2001, 
so your Stata must have been updated after that for this to work.

Examples

. labvalclone oldlabel newlabel
. label def newlabel 5 "5 or more", modify

To install in an up-to-date Stata, type 

. ssc inst labutil 

or 

. ssc inst labutil, replace 

Nick 
[email protected] 
*
*   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