Which R packages are good for what social network analysis?

Newbies to social network analysis in R should check out this great concise description from Michal Bojanowski on the SOCNET email list.  He writes:

There are two main R packages that provide facilities to store,manipulate and visualize network data. These are “network” and’igraph”. Technically speaking each package provides a specializedclass of R data objects for storing network data plus additionalfunctions to manipulate and visualize them. Each package has itsrelative strengths and weaknesses, but by and large you can do mostbasic network data operations and visualizations in both packagesequally easily. Moreover, you can convert network data objects from”network” to “igraph” or vice versa with functions from the”intergraph” package.Calculating basic network statistics (degree, centrality, etc.) ispossible for both types of objects. For “igraph” objects, functionsfor these purposes are contained in “igraph” itself. For “network”objects, most of the classical SNA routines are contained in the “sna”package.Community detection algorithms (e.g. Newman-Girvan) are available onlyin the “igraph” package.”Fancier things”, especially statistical models for networks (ERGMsetc.) are available in various packages that were build around the”network” package and jointly constitute the ‘statnet’ suite(http://www.statnet.org/). There is also “tnet” package with some moreroutines for among other things two-mode networks, which borrows fromboth “network” and “igraph” world. And of course there is RSiena forestimating actor-oriented models of network dynamics which is notrelated either “network” or “igraph”.As for matrix algebra, it is obviously available within R itself.My recommendation would be to have a look at both “igraph” and”network” and pick the one which seems easier to you as far asmanipulating and visualizing networks is concerned. Have a look at thedocumentation of these packages (e.g. onhttp://www.rdocumentation.org/) and at tutorials on e.g.:- statnet website (http://www.statnet.org/)- igraph homepage (http://igraph.sourceforge.net/)- R labs by McFarland et al (http://sna.stanford.edu/rlabs.php)- Slides and scripts to my Sunbelt workshop(http://www.bojanorama.pl/snar:start)It does not really matter whether you pick “igraph” or “network” asyou can aways convert your network to the other class with ‘asIgraph’or ‘asNetwork’ functions from “intergraph” package and take advantageof the functions available in the “other world”.

Check out more of Michal’s helpful contributions at his blog: http://bc.bojanorama.pl/


8 Responses to Which R packages are good for what social network analysis?

  1. canon deals says:

    Good day! Do you know if they
    make any plugins to protect against hackers?
    I’m kinda paranoid about
    losing everything I’ve worked hard on. Any recommendations?

  2. Anonymous says:

    Hi this is vasu, I would like to find the k most influential nodes in the social graph for information diffusion. Is R packages are good for that?. Can anyone help me to know how to get started with datasets and run a greedy algorithm. Thanks in advance.. 🙂

    mailid: vasusmile2@gmail.com

  3. Enda Sedwick says:

    Sharing on Twitter as we speak… very nice read.

  4. Good response in return of this difficulty with solid arguments and explaining all on the topic of that.|

  5. Remarkable things here. I’m very glad to peer your post.
    Thank you so much and I’m having a look forward to
    touch you. Will you kindly drop me a e-mail?

  6. Learn how to move much more in hockey, even if it means quitting a great shot. Except if your staff is downward and must get the credit score, permitting other athletes take a risk will increase the staff as a whole. Consuming each of the pictures that one could can cause other athletes and probably the mentor to examine you as self-centered and never a true team gamer.

  7. shareholder communications proxy solicitation rules

    Which R packages are good for what social network analysis? | Permutations

  8. day trading says:

    Choosing Best Stocks

    Which R packages are good for what social network analysis? | Permutations

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: