metagraph function

Plot the metagraph of the parameter of the stochastic block model associated with one of the estimated graph clusters

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)

Arguments

  • 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

Returns

none

Examples

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)
  • Maintainer: Tabea Rebafka
  • License: GPL-2
  • Last published: 2023-06-07

Useful links