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" <>
To   <>
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.


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

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

. ssc inst labutil 


. ssc inst labutil, replace 

*   For searches and help try:

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