Skip to Content

Repeated columns in a tri-dimensional array in R [closed]

Possible Duplicate:

Unique matrices in an array of matrices in R

What is the the easiest way to count how many times each column repeats in a tri-dimensional array?

I refer to a column as a column of a two-dimensional matrix. A two-dimensional matrix is for me the component/element of the tri-dimensional array.

Example:

ArrayOfMatrices = array(dim=c(NrRows, NrCols, NumberOfMatrices))

My code for generating these matrices is a few pages long and I can't copy it here.