Plot matrix summaries of the collection mesoscale structure
plot.fitSimpleSBMPop.Rd
Plot matrix summaries of the collection mesoscale structure
Usage
# S3 method for class 'fitSimpleSBMPop'
plot(x, type = "graphon", ord = NULL, mixture = FALSE, net_id = 1, ...)
Examples
# Trivial example with Gnp networks:
Net <- lapply(
list(.7, .7, .2, .2),
function(p) {
A <- matrix(0, 15, 15)
A[lower.tri(A)][sample(15 * 14 / 2, size = round(p * 15 * 14 / 2))] <- 1
A <- A + t(A)
}
)
if (FALSE) { # \dontrun{
cl <- estimate_colSBM(Net,
colsbm_model = "delta",
directed = FALSE,
distribution = "bernoulli",
nb_run = 1
)
plot(cl$best_fit)
} # }