Calculating the mixing matrix and assortativity coefficient with igraph in R

April 16, 2012
By

(This article was first published on BabelGraph » R, and kindly contributed to R-bloggers)

The mixing matrix of a graph gives the density of edges between vertices with different characteristics. The mixing matrix for a given igraph object can be calculated using the following function: The assortativity coefficient, based on Newman’s paper, can be … Continue reading

To leave a comment for the author, please follow the link and comment on his blog: BabelGraph » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.