function for calculating distances between dyads
1  | getDistPairs(D12, dyad)
 | 
D12 | 
 a 2n x 2n distance matric matrix  | 
dyad | 
 2n x 1 vector of dyad identifiers  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.