[R] Summing with NA
girlme80 at yahoo.com
Tue Mar 23 02:51:50 CET 2010
May I request for your help if you have time and if you have an idea on how
to do this. I want to add three vectors... And my goal is to obtain the sum
of the vectors, ignoring the vector of "na"...
Here is what i did in R.. I'm adding the three vectors, e,z,k, and my
objective is to get an answer = -23.
I tried putting the na.omit but it did not work. Thanks.
 -12 -9
 -2 0
 NA NA
View this message in context: http://n4.nabble.com/Summing-with-NA-tp1678564p1678564.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help