communityInnerEdgesWeight(community)
Get the sum of weights of the inner edges of the given community from the selected post processing algorithm or the main algorithm, after the last iteration.
DynComm.communityInnerEdgesWeight(dyncomm,community)
dyncomm |
A DynComm object, if not using the inline version of the function call |
community |
The name of the intended community |
a floating point number with the weight
poltergeist0
library(DynComm)
Parameters<-matrix(c("e","0.1","w", "FALSE"),ncol=2, byrow=TRUE)
dc<-DynComm(ALGORITHM$LOUVAIN,CRITERION$MODULARITY,Parameters)
dc$addRemoveEdges(
matrix(
c(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,12,13,1,1,1,2,2,2,18,12,19,20,2,3,11,12,4,9,5,9,22)
,ncol=2)
)
dc$communities()
dc$communityInnerEdgesWeight(1)
dc$communityInnerEdgesWeight(0)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.