sample_graphon.Rd
Generates a graph given a dense graphon W.
sample_graphon(W, n)
A graphon given by a matrix
The number of nodes of the sampled graph
A graph sampled from the graphon W with n nodes
library(igraph) W <- matrix(0.2, nrow = 100, ncol = 100) gr <- sample_graphon(W, n= 100)