help elabel copy

Title

elabel copy -- Copy value label

Syntax

elabel copy
oldlblname
newlblname
[ iff eexp ]
[ , options ]

where both oldlblname and newlblname are elements of an
elblnamelist and may
be varname:elblname

iff eexp always refers to oldlblname

Description

elabel copy copies an existing value label.

Options

add is the same as with label define,
and adds integer to text mappings to newlblname if it
already exists.

modify is the same as with label define,
and modifies newlblname if it already exists.

replace is the same as with label define,
and redefines newlblname.

nofix is the same as with label define.

Examples

Load example dataset

. sysuse nlsw88

Copy value label occlbl to newlbl

. elabel copy occlbl newlbl

Copy the value label attached to collgrad to gradlbl2

. elabel copy (collgrad) gradlbl2

Author

Daniel Klein

University of Kassel

klein.daniel.81@gmail.com

Also see

Online: label, label language

if installed: elabel