Nothing
library(igraph)
# Computes betweenness centrality in a graph with duplicated nodes, returning only values for original ones.
# DNSL = Duplicated Nodes with Self Loops
#
DNSL.betweenness <- function( df, first.node="V1", second.node="V2" ) {
dup.graph <- dup.nodes.from.data.frame(df, first.node, second.node)
betweenness <- betweenness(dup.graph)
original.nodes <- .original_graph_nodes(dup.graph)
return( betweenness[ original.nodes ] )
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.