Skip to content
Prev 11848 / 29559 Next

rectangular adjacency matrix/list: geo or graph packages?

Hi all,

I'm searching for an efficient, preferably prepackaged, way to compute and store a rectangular adjacency matrix in R. All I'm using it for is to screen out a large number of unnecessary computations. I have no need for weighted edges, and the matrix would be pretty sparse. I found this thread from 2007:

  <https://stat.ethz.ch/pipermail/r-sig-geo/2007-May/002092.html>

Has anyone tackled this problem using the 'igraph' package? Or have recommendations for another library to use or keep an eye on? 

Many thanks,
David

--
David Holstius
PhD Student in Environmental Health Sciences
UC Berkeley School of Public Health