Hello,
I need to duplicate a few observations in my data and then edit each observation separately. Some of my participant ID's are couples, so one ID is actually for two people. I want to duplicate the observations where the participant ID is a couple, then replace the participant ID with the correct ID for each member of the couple individually.
How do I write the code for this?
Thanks,
Alyssa
I need to duplicate a few observations in my data and then edit each observation separately. Some of my participant ID's are couples, so one ID is actually for two people. I want to duplicate the observations where the participant ID is a couple, then replace the participant ID with the correct ID for each member of the couple individually.
How do I write the code for this?
Thanks,
Alyssa
Comment