Peter Dalgaard wrote:
Heinz Tuechler wrote:
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()
...and don't miss the compare package described in issue 8/2 of R News.
Hi Peter and Heinz
Thank you very much for the help.
Regards,
Leon
______________________________________________
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.