[R] Matrix in 3D

robert-mcfadden at o2.pl robert-mcfadden at o2.pl
Mon May 22 12:02:17 CEST 2006


Thank you very much you Robin and Uwe. 


Od: Robin Hankin <r.hankin w noc.soton.ac.uk>
Do: Uwe Ligges <ligges w statistik.uni-dortmund.de>
Data: 22 maja 2006 11:04
Temat: Re: [R] Matrix in 3D

> 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:
> 
> > robert-mcfadden w o2.pl 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
> >>
> >> ______________________________________________
> >> R-help w 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
> >
> > ______________________________________________
> > R-help w 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
> 
> --
> Robin Hankin
> Uncertainty Analyst
> National Oceanography Centre, Southampton
> European Way, Southampton SO14 3ZH, UK
>   tel  023-8059-7743
> 
> 
> 
> 
>



More information about the R-help mailing list