[R] Multidimensional array with R
rksh1 at cam.ac.uk
Thu Nov 20 09:04:04 CET 2008
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
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
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
Robin K. S. Hankin
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
More information about the R-help