VALUE LABELS
Replaces the value labels of one or more variables (codes shown as words, e.g. 1 = Male).
Syntax
Section titled “Syntax”VALUE LABELS varlist value 'label' [value 'label' …] [/ varlist …].Synopsis
Section titled “Synopsis”| Kind | Dictionary (variable properties) |
| Body | repeated groups separated by / |
| Changes data | yes, undoable |
Examples
Section titled “Examples”VALUE LABELS gender 1 'Male' 2 'Female' 9 'Refused'.VALUE LABELS region 'N' 'North' 'S' 'South'.- Existing labels of the listed variables are discarded first; use ADD VALUE LABELS to merge.
- String values must be quoted and match the variable’s type.
Related
Section titled “Related”ADD VALUE LABELS, MISSING VALUES, AUTORECODE
Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.