[R] Hierarchical Diagram of Networks in sna or otherwise?
Gábor Csárdi
csardi at rmki.kfki.hu
Wed Apr 29 22:30:20 CEST 2009
Jarrett,
the 'igraph' package has a layout called layout.reingold.tilford that
is designed for trees, there is a slight chance that it is good enough
for you.
Best,
Gabor
On Wed, Apr 29, 2009 at 10:11 PM, jebyrnes <byrnes at msi.ucsb.edu> wrote:
>
> I've been using sna to work with some networks, and am trying to visualize
> them easily. My networks are hierarchical (food webs). All of the layout
> engines I've tried with gplot don't seem to plot hierarchical networks, as
> one would using dot from graphviz. While I could do all of this by
> outputting to dotfiles and running it through graphviz, the graphics I get
> from R are much cleaner, and more easily integrated into my analyses.
>
> Is there any good way to diagram a hierarchical network in R, either with
> the sna library or otherwise? It strikes me that at least the Netindices
> package can calculate trophic levels. Could this be used for node
> placement?
>
>
> -Jarrett
> --
> View this message in context: http://www.nabble.com/Hierarchical-Diagram-of-Networks-in-sna-or-otherwise--tp23301819p23301819.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Gabor Csardi <Gabor.Csardi at unil.ch> UNIL DGM
More information about the R-help
mailing list