Hi guys,

Suppose I have 2 data frames ie:
         values
one    0.32
two    0.25
three  0.11

and 
         values
two    0.66
one    0.74
three  0.19

nb the first column is the row names in both cases

How can I combine them on the row names column? Ie to make something like


         values.1 values.2
one    0.32       0.74
two    0.25       0.66
three  0.11       0.19

I guess its data.frame or c.bind but I keep getting errors when I try to
combine them on row names...

Many many thanks,

Jim
-- 
View this message in context: 
http://www.nabble.com/Combine-data-frames-using-column-names-as-%22key%22-tp19609173p19609173.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org 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.

Reply via email to