search for: tp22893147p22893147

Displaying 1 result from an estimated 1 matches for "tp22893147p22893147".

2009 Apr 05
3
number of zeros in a matrix -row by row
...of zeros in V by doing length(V[ V==0]) but when I try something similar for M, like M[ M==0] it creates a vector not a matrix and so this does not work. Does anyone have a solution to this? Thank you. -- View this message in context: http://www.nabble.com/number-of-zeros-in-a-matrix--row-by-row-tp22893147p22893147.html Sent from the R help mailing list archive at Nabble.com.