Hi, I'm trying to obtain a measure of how similar two matrices are. Each is a representation of the level of a variable (say A and B respectively) on a two-dimensional lattice, where any matrix entry exactly corresponds to the level of the variable at those coordinates on the lattice. After reading through a lot of documentation of various R functions, I'm still very confused as to what test would be appropriate to assess the relationship between the two matrices. At the moment, I've converted the two matrices to vectors and then calculate the Pearson's linear correlation coefficient using the rcorr function from the Hmisc package, but I'm not at all confident that this is suitable. Any advice on how to approach this problem would be really helpful. Thanks a lot, M. Grace [[alternative HTML version deleted]]