mercredi 7 septembre 2022

Picking a random sample out of dyads

I have a data set that includes longitudinal data of couples.

For my analysis,I have to randomly pick 1 member of each dyad. I have userID for each individual and coupleID for the respective couples.

Is there any R package/input that will make this possible?

I am completely lost here so I would appreciate every hint! Thank you so much!




Aucun commentaire:

Enregistrer un commentaire