In a message dated 3/22/03 11:56:48 AM Eastern Standard Time, 
[EMAIL PROTECTED] writes:


> Hi
> 
> I want to combine 2 dataframes (t1 and t2) in order to get a third one
> (t3). The dataframes are below.
> 
> In SQL I would do something like:
> 
> SELECT t1.f1,t1.f2,t1.f3,t2.f4 FROM t1, t2
> WHERE t1.f1=t2.f1 AND t1.f2=t2.f2
> 
> How can I do it with R ?
> 
> Thanks
> 
> EJ
> 

A two-step solution will be to (1) subset the dataframes t1 and t2, making 
two dataframes with the desired columns from each , and (2) use "merge" to 
combine them.
--anupam


        [[alternate HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to