[R] Compare objects

Heinz Tuechler tuechler at gmx.at
Sun Nov 9 13:41:21 CET 2008


At 13:26 09.11.2008, Leon Yee wrote:
>Hi, friends
>
>    Is there any functions for object comparing? For example, I have two
>list objects, and I want to know whether they are the same. Since the
>the components of list are not necessary atomic, this kind of comparison
>should be recursive. Does this kind of function exist?
>    Thank you for your help!
>
>Leon

see maybe:
all.equal()
identical()

Heinz

>______________________________________________
>R-help at 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.



More information about the R-help mailing list