[R] Matrix in 3D

robert-mcfadden at o2.pl robert-mcfadden at o2.pl
Mon May 22 10:44:40 CEST 2006


Dear R Users,
Is it possible to add another (third) index to matrix (as in MATLAB). For some analysis e.g. finite mixture models is necessary. Simple example

i<-3
matrix[, , i]<-matrixA[, ,i]%*%matrixB[, , i]

I would appreciate any help
Rob



More information about the R-help mailing list