View source: R/get_mixing_matrix.R
get_mixing_matrix | R Documentation |
get_mixing_matrix
returns the mixing matrix of a graph G
based
on a node attribute att
.
get_mixing_matrix(G, att, counts = FALSE)
G |
An igraph graph. |
att |
An attribute name. |
counts |
Whether to return edge counts rather than proportions. Defaults to FALSE. If TRUE then returns matrix defined by Equation (1) in Newman (2003). |
A matrix.
Newman, M. E. J, (2003). Mixing patterns in networks. Physical Review E 67:026126. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1103/PhysRevE.67.026126")}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.