Skip to content
Prev 258123 / 398502 Next

Odp: fast way to compare two matrices

Hi

x <- matrix(rnorm(1e6), 1000,1000)
y <- matrix(rnorm(1e6), 1000,1000)

identical(x,y)
[1] FALSE

The response is almost instant.

In case you are not satisfied with the unspecific answer be more specific 
with your question.

Regards
Petr

r-help-bounces at r-project.org napsal dne 27.04.2011 13:04:37:
works
http://www.R-project.org/posting-guide.html