'Reconstruct dyadic structure/ individual structure to pairwise structure

are there any resources or packages that I can use to reshape my dataset?

this is for dyadic analysis, and currently, I can make the individual structures and dyadic structures, but have a hard time converting it to the pairwise structure.

I googled two days and all I found is

  1. https://www.ethan-young.com/code/restructuring-dyadic-data/

This does not work for me

  1. Dyadr - does not have reshaping function to pairwise

  2. kenny's program - this is not r code, but program.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source