Re: [R] Listing elements of a 4D array

2012-11-21 Thread arun
:53 PM Subject: Re: [R] Listing elements of a 4D array Hi, I'm not really sure how to use "dput()", so here is some little sample of my data. After doing the reshape process, the names of the species are al mixed up, and I just need to know the order in which they are listed in my ne

[R] Listing elements of a 4D array

2012-11-21 Thread Andrea Goijman
Dear list, I'm having trouble to see how my elements on a 4 dimensional array are listed. For example, I generated the following array: junk.melt=melt(occ.data,id.var=c("Especie", "Site", "Rep", "Año"), measure.var="Pres") y=cast(junk.melt, Site ~ Rep ~ Especie ~ Año) Now, I want to be able to