Hi everyone, I am working on a dataset that contains both old and new bundles of variables. I need to create a new list of variables from these two lists and obtain all the unique values for each row. Here is an example of what I have: Subject old_var1 old_var2 old_var3 old_var4 ... new_var1 new_var2 new_var3 new_var4 ... 1 A C B . C D . . 2 X Z . . . . . . 3 C D X . X C D . Here is what I need to create: Subject combine_var1 combine_var2 combine_var3 combine_var4 .... 1 A C B D 2 X Z . . 3 C D X . Please help Thank you !!
... View more