help elabel modify

Title

elabel modify -- Modify value labels

Syntax

elabel modify
elblnamelist
mappings
[ , options ]

where mappings are those used with
elabel define

# "label"
[ # "label" ... ]

or

(valspec)
(lblspec)

or

=
fcn(arguments)

Description

elabel modify modifies value labels and, optionally, defines
new value labels. New value labels are defined as modified copies
of existing value labels.

Options

define(newlblnamelist)
specifies names for the modified value labels. The mapping of old value
label names and newlblnamelist is one to one. newlblnamelist may
contain varname:lblname.

prefix(str) is an alternative to define(); the
option prefixes old value label names with str.

replace replaces the value labels in elblnamelist instead of
modifying them. If replace is sepcified with define() or
prefix(), new value labels are defined as replaced copies of
existing value labels.

nofix is the same as with label define.

Examples

Load example dataset

. sysuse auto

Define a modified copy of value label origin

. elabel modify origin .a "unknown" , define(origin2)

Author

Daniel Klein

University of Kassel

klein.daniel.81@gmail.com

Also see

Online: label

if installed: elabel