Hi
for this particular task
rowSums(cbind(a,b), na.rm=T)
gives you c column
Petr
petr.pikal at precheza.cz
r-help-bounces at stat.math.ethz.ch napsal dne 16.08.2007 13:03:51:
> Hi All,
>
> I have 2 data frames as follows:
>
> a b c
> 1 NA 1
> 2 NA 2
> NA 3 3
>
> So "a", "b" are the input values and "c" is
the output which I am
interested in.> NA - Missing values. I used rbind, but its not working.
>
> Let me know if anyone can help me
>
> Thanks,
> Pratap
>
>
> ---------------------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.