baptiste auguie wrote:
I'm not sure I'm following you but have you tried,

identical(matrix(c(1,1,1,1),ncol=2), matrix(c(1,1,1,1),ncol=2))

?all.equal
?isTRUE
?identical

and possibly the compare package,

compare(matrix(c(1,1,1,1),ncol=2),matrix(c(1,1,1,1),ncol=2))


HTH,

baptiste

Hi Babtiste,

Thanks for pointing out the various options that exist. R is
a very rich language indeed and it's good to know how to accomplish
tasks in various ways.

Cheers,
Esmail

______________________________________________
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