powered by
transitivity(graph, type=c("undirected", "global", "globalundirected", "localundirected", "local", "average", "localaverage", "localaverageundirected"), vids=NULL)
global
NaN
For local a vector of transitivity scores, one for each vertex in vids.
local
vids
V(graph)
g <- graph.ring(10) transitivity(g) g2 <- erdos.renyi.game(1000, 10/1000) transitivity(g2) # this is about 10/1000
Run the code above in your browser using DataLab