[R] Multidimensional array with R

Robin Hankin rksh1 at cam.ac.uk
Thu Nov 20 09:04:04 CET 2008


Hello

a good place to start is R-and-octave.txt, in the contributed docs 
section of CRAN.

This translates between common matlab and R commands

HTH

rksh



Michael Zak wrote:
> Hi there
>
> I know, I'm sure you discussed this stuff 100 times, but I really have 
> a basic understanding problem, if and how do I create a 
> multidimensional array in R. I'm coming from MATLAB and there it's as 
> easy as you ever could imagine.
>
> Ok, so, I want to have an array, where I can fill in data from a Excel 
> spreadsheet. The array should be addressed like this:
>
> data["Cacao"]["Open"] or data["Cotton"]["Close"], you get me? Ok, 
> that's fine. Otherwise feel free to ask questions. Because I tried to 
> build such an array but without success (even with googling)...
>
> Thank you, Michael
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


-- 
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877



More information about the R-help mailing list