title: Reconstruct dyadic structure/ individual structure to pairwise structure
body: <p>are there any resources or packages that I can use to reshape my dataset?</p>
  <p>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.</p>
  <p>I googled two days and all I found is</p>
  <ol>
  <li><a href="https://www.ethan-young.com/code/restructuring-dyadic-data/" rel="nofollow noreferrer">https://www.ethan-young.com/code/restructuring-dyadic-data/</a></li>
  </ol>
  <p>This does not work for me</p>
  <ol start="2">
  <li><p>Dyadr - does not have reshaping function to pairwise</p>
  </li>
  <li><p>kenny's program - this is not r code, but program.</p>
  </li>
  </ol>