[R] Add attributes to igraph vector by name, not index

2012-04-23 Thread cwdillon
Hi, So I've been figuring out how to use igraph in R and like it for it's speed and simplicity. Now I have a graph built from an edgelist where vectors have a $name attribute. I have another dataframe with attributes tied to a vector ID, which is the same as the $name attribute of vectors represe

Re: [R] Reading R Code aloud

2011-09-13 Thread cwdillon
Well, I've bee reading the R Manual, Nathan Yau's book on Flowing Data, and a few others like this to my kids to get them to go to sleep. I started off doing it the *wrong* way, just to keep it boring but slipped into doing it the *correct* way for my own sanity. It puts the kids to sleep in no tim