Collapse N x N adjacency network into S x S
Usage
collapse_network(W_nn_list, r_positions, N, S, verbose = TRUE)
Arguments
- W_nn_list
adjacency list
- r_positions
collapsing positions
- N
number of vertices
- S
number of meta-vertices
- verbose
verbosity
Value
a list of rows, columns, weights