[R] Adjacency Matrix help

Timothy Bates timothy.c.bates at gmail.com
Sat Aug 13 09:19:01 CEST 2011


diag(adjMatrix) <-0


On Aug 13, 2011, at 7:34 AM, collegegurl69 wrote:

> I have created an adjacency matrix but have not been able to figure something
> out. I need to put zeros on the diagonal of the adjacency matrix. For
> instance, location (i,i) to equal 0. Please help. Thanks 



More information about the R-help mailing list