[R] "invalid or not-yet-implemented 'Matrix' subsetting"

2011-10-10 Thread collegegurl69
I have this error and I can't figure out whats wrong: "invalid or not-yet-implemented 'Matrix' subsetting" it pops up when I try to run this line of code: S <- B[indices.mod,union(mir.e.nc,mir.negatives.nc)] -- View this message in context: http://r.789695.n4.nabble.com/invalid-or-not-yet-

Re: [R] Adjacency Matrix help

2011-08-13 Thread collegegurl69
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 sa

[R] Adjacency Matrix help

2011-08-13 Thread collegegurl69
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 -- View this message in context: http://r.789695.n4.nabble.com/Adjacency-Matrix-help-tp3740