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 

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to