Custom function for Jaccard Index in Igraph

Hi all! I while ago, I had the problem that I wanted to compare the edges between two different time points, but also the edges of different types of networks. To be more specific, I wanted to compare: The edges of the same network between different waves The edges in social network based on a nomination question (“With whom do you spend time during the breaks at school”) to the edges based on Bluetooth connects of participants’ smartphones For more information, see the protocol paper of the project