powered by
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)
none
number of the cluster we are interested in
output of graphClustering()
title of the figure
width of edges in the metagraph
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)
Run the code above in your browser using DataLab