Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Removing label values from selected variables

    Hi
    I have applied same label values to various variables. I want to remove such label values from selected variables keeping other variables unaffected. How?

  • #2
    Variable labels or value labels? I guess the second:

    Code:
    label val whatever
    removes a value label association from variable whatever without destroying the value labels. And you can specify several variables at once. This is documented:



    Remove value labels

    label values varlist [.]
    See

    Code:
    help label
    Last edited by Nick Cox; 08 May 2019, 03:40.

    Comment


    • #3
      Many thanks Nik. It was so simple.

      Comment

      Working...
      X