-------------------------------------------------------------------------------
help for labvalclone
-------------------------------------------------------------------------------

Clone a set of value labels under another name

labvalclone vallblname newvallblname

Description

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

Author

Nicholas J. Cox, University of Durham, U.K. n.j.cox@durham.ac.uk

Acknowledgements

Roger Harbord suggested this problem.

Also see

Manual: [U] 15.6.3 Value labels, [R] label On-line: help for label