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.
--
O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907
______________________________________________
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.