[R] Matrix in 3D

From: <robert-mcfadden_at_o2.pl>
Date: Mon 22 May 2006 - 18:44:40 EST


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



R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon May 22 18:55:53 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 23 May 2006 - 00:10:13 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.