Hello SAS forum,
I am trying to remove all columns in a dataset that are empty, and I cannot figure out how to do this in JMP9. Can you help? There will be variable number of patients and AA's
Data input
| Patient | Sample
| AA_1 | AA_2 | AA_3 | AA_4 | AA_5 | AA_6 |
|---|
| 2234 | Day 1 | | A | | | | C |
| 2234 | Day 11 | | A | | V/M/S | | C |
| 2234 | Day 21 | | A | | | | C |
| 2234 | Day 24 | | A | | | S/T | C |
Output
| Patient | Sample
| AA_2 | AA_4 | AA_5 | AA_6 |
|---|
| 2234 | Day 1 | A | | | C |
| 2234 | Day 11 | A | V/M/S | | C |
| 2234 | Day 21 | A | | | C |
| 2234 | Day 24 | A | | S/T | C |