Learn R Programming

DynComm (version 2020.1.6)

quality: quality()

Description

Get the quality measurement of the graph from the selected post processing algorithm or the main algorithm, after the last iteration.

Usage

DynComm.quality(dyncomm)

Arguments

dyncomm

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

Value

a floating point number

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$quality()

# }

Run the code above in your browser using DataLab