Re: [R] Array dimnames

2007-12-17 Thread Tony Plate
I can't quite understand what you're having difficulty with (is it constructing the array, or coping with the different 'matrices' having different column names, or something else?) However, your sample data looks like it has a mixture of factor (region) and numeric data (Qty), so you're probab

Re: [R] Array dimnames

2007-12-15 Thread Domenico Vistocco
Sorry, there were mistakes in variable names... (I realized only after pressed the send button) Domenico Vistocco wrote: > dave mitchell wrote: > >> Dear all, >> Possibly a rudimentary question, however any help is greatly appreciated. I >> am sorting a large matrix into an array of dim(p(i),

Re: [R] Array dimnames

2007-12-15 Thread Domenico Vistocco
dave mitchell wrote: > Dear all, > Possibly a rudimentary question, however any help is greatly appreciated. I > am sorting a large matrix into an array of dim(p(i),q,3). I put each entry > into a corresponding matrix (1 of the 3) based on some criteria. I figure > this will assist me in condens