[R] How to delete rows from dataframe that sum to zero

Emily O'Connor Emily.O_Connor at biol.lu.se
Thu Apr 26 11:17:00 CEST 2012


Hello,

I am trying to figure out how to delete all rows which sum to zero from a
dataframe. I do not have a column with the sum of each column yet, so
perhaps that would need to be done first? Thank you for any help anyone can
offer with this.

Emily

PS sorry if this question has already been answered in a previous thread, I
did look through them & one seemed relevant, but I couldn't really
understand the solution!

--
View this message in context: http://r.789695.n4.nabble.com/How-to-delete-rows-from-dataframe-that-sum-to-zero-tp4589289p4589289.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list