Skip to content
Prev 138593 / 398506 Next

vertex labels in igraph from adjacency matrix

Looks like I turned an "off my one error" into an "off by two error" by 
adding rather than subtracting. Clearly a logic error on my part.

Also, which.max is clearly superior as it results in half as many 
function calls.

Thanks guys!

As an aside, although igraph may use the C indexing convention, R users 
and their code, is much more in tune with indexing beginning at 1. 
Adjusting this in the R interface to igraph may solve many headaches 
down the road.

Mark

Mark W. Kimpel MD  ** Neuroinformatics ** Dept. of Psychiatry
Indiana University School of Medicine

15032 Hunter Court, Westfield, IN  46074

(317) 490-5129 Work, & Mobile & VoiceMail
(317) 204-4202 Home (no voice mail please)

mwkimpel<at>gmail<dot>com

******************************************************************
Gabor Csardi wrote: