This is a collection of functions that convert a graph stored as an
igraph object into a desired matrix representation
among adjacency matrix, graph laplacian, modularity matrix or graphon (edge
probability matrix).
Usage
repr_adjacency(network, validate = TRUE)
repr_laplacian(network, validate = TRUE)
repr_modularity(network, validate = TRUE)
repr_graphon(network, validate = TRUE)
Value
A numeric square matrix giving the desired network representation
recorded in the object's class.