[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] from igraph in python to igraph in R
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] from igraph in python to igraph in R |
Date: |
Thu, 18 Mar 2010 10:20:19 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
> Hi, in igraph on python I can assign a list to an attribute of edge sequence
> or vertex sequence in this way:
> graph.es["iFlow"] = [12, 40, 38, 42, 50]
E(g)$iFlow <- c(12, 40, 38, 42, 50)
Please read the documentation of the R package, it's clearly written
there:
http://igraph.sourceforge.net/doc/R/attributes.html
--
Tamas