Announcement

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

  • Creating a line of numbers (instead of a table) using the list-command

    I have an identifier variable in my dataset. For illustrative reasons see the code below:
    Code:
    .
    list id  if q86_main_2 == 99, noobs
    
      +------+
      |   id |
      |------|
      |  147 |
      |  410 |
      |  890 |
      | 1287 |
      | 1303 |
      |------|
      | 1352 |
      | 1575 |
      | 1614 |
      | 1678 |
      | 1686 |
      |------|
      | 1688 |
      | 1768 |
      | 1964 |
      | 1979 |
      | 2021 |
      |------|
      | 2108 |
      +------+
    Is there a way to get a one-liner with all the variables listet above? Ideally this would look like this:

    147 410 890 ...

    It would definitely make copying and pasting the IDs a lot easier. Looking at the option for the list-command, I wasn't able to find anything appropriate. Looking forward for any help.

  • #2
    Code:
    help levelsof

    Comment


    • #3
      Thank you.

      Comment

      Working...
      X