[R] superimposing network graphs
marchywka at hotmail.com
Wed Jul 6 15:49:56 CEST 2011
> Date: Wed, 6 Jul 2011 13:10:14 +0200
> To: r-help at r-project.org
> CC: buttsc at uci.edu
> Subject: [R] superimposing network graphs
> Dear all,
> I have a undirected network (g), representing all the sexual relationships that ever existed in a model community.
> I also have a directed edgelist (e) which is a subset of the edgelist of g. e represents the transmission pathway of HIV.
> Now I would like to superimpose the picture of the sexual relationships with arrows in a different colour, to indicate where in the network HIV was transmitted.
If you can't find an R answer, I've found that "dot" from graphviz is really helpful. It should not be too hard to generate
the source code from your raw data file or R but others may have a more R answer. Package sna may be helpful for
an R-only approach.
> Any ideas on how to do this?
> Many thanks,
> Wim Delva MD, PhD
> International Centre for Reproductive Health
> Ghent University, Belgium
> South African Centre for Epidemiological Modelling and Analysis
> Stellenbosch University, South Africa
> epi update: www. sacemaquarterly.com
> Tel: +27 21 808 27 79 (work)
> Cell: +27 72 842 82 33
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help