powered by
Scales a graphon to an nxn matrix suitable for large adjacency matrices
scale_graphon(W, n)
Scaled nxn graphon
A graphon given as a symmetric square matrix
The dimension of the output matrix
library(igraph) gr <- sample_gnp(1000, p=0.2) adj <- as_adjacency_matrix(gr) W <- scale_graphon(adj, 100)
Run the code above in your browser using DataLab