Skip to content
Prev 138523 / 398506 Next

How to make a 2-dim array being "interpreted" as an array rather than as a matrix

Hello -
S?ren H?jsgaard wrote:
Note that is.matrix(a2) and is.array(a2) are both TRUE though.
I don't know about that.  However, I see that both of the functions
duplicated.matrix and unique.matrix are copies of duplicated.array and 
unique.array, respectively.

Perhaps that's all you need to do?

foo.matrix <- foo.array

Maybe there is a better suggestion?

Best,
Erik Iverson