View source: R/visualization.R
metagraph | R Documentation |
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 in |
res |
output of graphClustering() |
title |
title of the figure |
edge.width.cst |
width of edges in the metagraph |
none
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.