get.edge.attribute

G.


On Sun, Apr 14, 2013 at 5:26 PM, Sam Steingold <[email protected]> wrote:

> 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
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <[email protected]>     MTA KFKI RMKI
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to