Re: [R] adding two colmns of a data frame

From: ozgrerg <>
Date: Sat, 16 Apr 2011 13:32:33 -0700 (PDT)

Sorry, sorry for taking your time. I solved the problem.

data=transform(data,C= A+B)

It is so simple. But if you dont know it is hard. Again sory for taking time

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 17 Apr 2011 - 00:00:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 17 Apr 2011 - 00:10:31 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive