Skip to content
Back to formatted view

Raw Message

Message-ID: <0IOO00ILWWRN17@mail.fudan.edu.cn>
Date: 2005-10-21T03:19:48Z
From: ronggui
Subject: The behavior of match function

> x<-1:10
> y<-x+1e-20
> x
 [1]  1  2  3  4  5  6  7  8  9 10
> y
 [1]  1  2  3  4  5  6  7  8  9 10
> identical(x,y)
[1] FALSE
> match(x,y)
 [1]  1  2  3  4  5  6  7  8  9 10

What's the  principle the function use to determine if x match y?

Thank you!
 				


2005-10-21

------
Deparment of Sociology
Fudan University

My new mail addres is ronggui.huang at gmail.com
Blog:http://sociology.yculblog.com