Search for a graph package - see link
Hi Knut,
On Tue, Apr 7, 2009 at 12:36 PM, Knut Krueger <rh at krueger-family.de> wrote:
G?bor Cs?rdi schrieb: Hi G?bor, thank you for your hint to your package. It is very useful for us. I tried to use the example: http://igraph.sourceforge.net/screenshots2.html#2 Two questions: 1. Is it possible to start from 1 to n instead from 0 to n-1 using graph(data, directed=TRUE)
What about subtracting one? graph(data-1, directed=TRUE)
2. is it possible to change the thickness of the lines depending of the interactions between the nodes automatically?
It depends what you mean by 'automatically'. You can assign an edge
attribute called 'width' and 'plot' (and tkplot and rglplot)
considers it when drawing the graph. See
help("attributes", package="igraph") and ?igraph.plotting for details.
Best,
Gabor
With kind regards Knut
______________________________________________ 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