Skip to content

VALUE LABELS

Replaces the value labels of one or more variables (codes shown as words, e.g. 1 = Male).

VALUE LABELS varlist value 'label' [value 'label' …] [/ varlist …].
Kind Dictionary (variable properties)
Body repeated groups separated by /
Changes data yes, undoable
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.

ADD VALUE LABELS, MISSING VALUES, AUTORECODE


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.