Hi,
Can someone tell me how to remove rows of zeros from a matrix?
For example if I have the following matrix,

0 0
0 1
2 8
0 0
4 56

I should end up with
0 1
2 8
4 56

-- 
Thanks,
Jim.

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to