[R] Multidimensional array with R

Rolf Turner r.turner at auckland.ac.nz
Wed Nov 19 22:10:54 CET 2008


On 20/11/2008, at 8:51 AM, 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)...

I would suggest that you start by learning something about R.

The document ``An Introduction to R'' available (start with
``Documentation'') from the R web page would be a good beginning.
Chapter 5 is relevant to your particular question.

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}



More information about the R-help mailing list