Creates an igraph object from a data frame with self-loops
dup.nodes.from.data.frame.Rd
This is an implementation of the method published in the paper "Intra-family links in the analysis of marital networks" mm24:intra_family_linksdupNodes, which proposed a duplication of nodes that includes self-loops to get a reflect better (and include all information about) the status of all nodes in the network.
Details
This method duplicates nodes with self-loops, and links the duplicated nodes with the original with a weight that is equal to the number of self-loops.
This can be applied to matrimonial networks where there are marriages among members of the same family, or any other type of network with self-loops, and allows to apply centrality (and other) measures, obtaining a meaningful and more accurate result.
You can them compute "corrected" betweenness on the resulting object using the DNSL.betweenness
function.