The class Matrix (esp. dgCMatrix) is extraordinary. However, I still have growin pains with it. One common need (I believe) is to apply the same function to all non-zero elements of the sparse matrix. Is there a simple, elegant way?
-g ______________________________________________ R-help@r-project.org 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.