a so simple solution ... thanks a lot !
Henrique Dallazuanna wrote:
>
> Try:
>
> merge(DATA1, DATA2)
>
> On Mon, Apr 7, 2008 at 11:20 AM, solea <[EMAIL PROTECTED]> wrote:
>
>>
>> I am looking for a solution to match 2 dataframes from pairs of values (x
>> and
>> y) as indicated thereaft
Try ?merge
> d1 <- read.table(textConnection("
xy a
1 30 400.2
2 21 130 0.3
"))
> d2 <- read.table(textConnection("
xy b
1 30 401
2 40 303
3 20 407
4 1130 2
5 130 250 15
6 21130 17
Try:
merge(DATA1, DATA2)
On Mon, Apr 7, 2008 at 11:20 AM, solea <[EMAIL PROTECTED]> wrote:
>
> I am looking for a solution to match 2 dataframes from pairs of values (x
> and
> y) as indicated thereafter :
>
> First dataframe :
> DATA1
> xy a
> 1 30 400.2
> 2 21 130 0.3
>
3 matches
Mail list logo