Learn R Programming

DynComm (version 2020.1.6)

communities: communities()

Description

This method returns all communities from the selected post processing algorithm or the main algorithm, after the last iteration.

Usage

DynComm.communities(dyncomm)

Arguments

dyncomm

A DynComm object, if not using the inline version of the function call

Value

a list of all communities

See Also

DynComm , postProcess

Examples

Run this code
# NOT RUN {
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(10,20,10,30,20,30,30,60,40,60,40,50,50,70,60,70)
   ,ncol=2,byrow=TRUE)
)

dc$communities()

# }

Run the code above in your browser using DataLab