[R] column permutation of sparse matrix

khai ktluong71 at gmail.com
Tue Dec 20 20:24:10 CET 2011


Thanks very much for responses. The 2 suggestions each do a part of what I
want. Jean's proposal permutes nonzero elements within each row but shifts
the location of the nonzero element around in the j slot of each i row.  And
Douglas's idea keeps the second part but permutes the entire x slot values.
I'll try to see how I can combine these 2 ideas but it's not immediately
obvious to me. =}

-khai

--
View this message in context: http://r.789695.n4.nabble.com/column-permutation-of-sparse-matrix-tp4216726p4219031.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list