[R] How to add a new row in to an existing data set in R Language?

killerkarthick karthick.gdi at gmail.com
Wed Oct 3 13:30:24 CEST 2012


Hi...
I have one 2 data set with 3 variables and 4 observations. I want to combine
the two data sets. I tried with merge but it gives only the common values. I
need common values and and remaining values also. Please help me?
this is my data set
dataset:1
name	va1	va2
AA	10	100
BB	20	200
CC	30	300
DD	40	400

dataset:2
name	va1	va2
AA	36	444
BB	10	111
CC	20	222
DD	NA	333
Please reply me.....................................



--
View this message in context: http://r.789695.n4.nabble.com/How-to-add-a-new-row-in-to-an-existing-data-set-in-R-Language-tp4644855.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list