Hi

there are dozens of examples of this kind of thing
in the R-and-octave.txt file,  in the contributed docs section
of CRAN.  See the "multidimensional arrays" section, near the
bottom, for reproduction of all of matlab/octave's array
handling capabilities.

best wishes


Robin



On 22 May 2006, at 09:56, Uwe Ligges wrote:

> [EMAIL PROTECTED] wrote:
>
>> 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]
>
>
> See ?array
>
> Uwe Ligges
>
>
>> I would appreciate any help
>> Rob
>>
>> ______________________________________________
>> [email protected] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide! http://www.R-project.org/posting- 
>> guide.html
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting- 
> guide.html

--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to