> -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of collegegurl69 > Sent: Saturday, August 13, 2011 1:01 AM > To: [email protected] > Subject: Re: [R] Adjacency Matrix help > > Thanks so much for your quick reply. it seems to work. the problem is that > it > now places actual zeros on the diagonal whereas the rest of the adjacency > matrix has dots to represent zeroes. Do you have any ideas on how to > change > these zeros to dots like in the rest of the adj matrix? Or is it the same > thing? Thanks. >
This is one of the reasons why it is useful/important to provide a reproducible example. When I think of an adjacency matrix, my default mental representation is a numeric matrix which was reinforced by the request for zeros on the diagonal. So, how did you create this matrix? Could you post a self-contained, reproducible example as the posting guide requests? At a minimum, can apply str() to your matrix and post the output? Dan Daniel Nordlund Bothell, WA USA ______________________________________________ [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.

