Learn R Programming

graphclust (version 1.3)

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

Description

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

Usage

metagraph(nb, res, title = NULL, edge.width.cst = 10)

Value

none

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

Examples

Run this code
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