Plot the metagraph of the parameter of the stochastic block model associated with one of the estimated graph clusters
metagraph(nb, res, title = NULL, edge.width.cst = 10)
nb
: number of the cluster we are interested inres
: output of graphClustering()title
: title of the figureedge.width.cst
: width of edges in the metagraphnone
theta <- list(pi=c(.5,.5), gamma=matrix((1:4)/8,2,2)) obs <- rCollectSBM(rep(10,4), theta)$listGraphs res <- graphClustering(obs, nbCores=2) metagraph(1, res)
Useful links