Hi everyone,
I need to create extra rows by swapping variables. For example, I have a dataset with two variables first name and last name:
firstName lastName
Sara Daner
And I want an extra row by swapping first name and last name, desired dataset will be like:
firstName lastName
Sara Daner
Daner Sara
What is the best way to do it? Thanks!