|
From: | Gábor Csárdi |
Subject: | Re: [igraph] edge attribute access by name |
Date: | Sun, 14 Apr 2013 17:51:52 -0400 |
How do I get the vector of edge attributes by name?
E.g.,
> gr
IGRAPH DN-- 404 2637 --
+ attr: name (v/c), domain (e/c), url (e/c)
> E(gr)$domain
[1] "www.foo.com" "www.foo.com" "www.foo.com" "www.foo.com"
...
> E(gr)[["domain"]]
Error in E(gr)[["domain"]] : subscript out of bounds
how do I get the vector of attributes given string "domain"?
thanks!
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.10 (quantal) X 11.0.11300000
http://www.childpsy.net/ http://camera.org http://honestreporting.com
http://dhimmi.com http://pmw.org.il http://think-israel.org
If money were measured in piles, I would have had a pit of it.
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |