Hi John,

They are different as Erik said.

> identical(a,b) 
[1] FALSE
> row.names(a)
[1] "2" "4" "6" "8"
> row.names(b)
[1] "1" "3" "5" "7"
> row.names(a) <- NULL
> row.names(b) <- NULL
> identical(a,b) 
[1] TRUE


Regards,

Wu


array chip wrote:
> 
>> a
>          a b
> 2 10011048 L
> 4 10011048 R
> 6 10011049 L
> 8 10011049 R
>> b
>          a b
> 1 10011048 L
> 3 10011048 R
> 5 10011049 L
> 7 10011049 R
> 
>> identical(a,b)
> [1] FALSE
> 


-----
A R learner.
-- 
View this message in context: 
http://r.789695.n4.nabble.com/identical-tp2327537p2327553.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