help labmm -------------------------------------------------------------------------------

Title

labmm -- Modify multiple value labels

Syntax

labmm [namelist] \ # "label" [# "label" ...] [, variables]

where namelist is a list of value label names or, if variables is specified, a varlist

Description

labmm modifies (multiple) value labels. All value labels specified in namelist are modified according to definitions. The syntax is very similar to label define with one exception. Associations of intergers and text must be separated from namelist using \. If no namelist is specified, it defaults to _all, meaning all value labels in memory, or if variables is specified, all value labels attached to variables in the dataset.

Options

variables causes namelist to be interpreted as a varlist.

Examples

. sysuse nlsw88 ,clear (NLSW, 1988 extract)

. labmm _all \ .a "don't know" .b "refused" Acknowledgments

Modifying multiple value labels was suggested by Anna Reimondos on statalist. Michael Norman Mitchell's solution led to this ado.

Author

Daniel Klein, University of Bamberg, klein.daniel.81@gmail.com

Also see

Online: label

if installed: strrec