Re: [R] transposing/rotating XY in a 3D array

2009-05-15 Thread andzsin
Dear Kushantha, Thank you very much. Very nice, indeed. Gabor __ R-help@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

Re: [R] transposing/rotating XY in a 3D array

2009-05-15 Thread Kushantha Perera
ject.org [mailto:r-help-boun...@r-project.org] On Behalf Of andzsin Sent: Friday, May 15, 2009 12:38 PM To: r-help@r-project.org Subject: [R] transposing/rotating XY in a 3D array Dear list, We have a number of files containing similarly structured data: file1: A B C 1 2 3 4 5 6 file2: A B C 7 8

[R] transposing/rotating XY in a 3D array

2009-05-15 Thread andzsin
Dear list, We have a number of files containing similarly structured data: file1: A B C 1 2 3 4 5 6 file2: A B C 7 8 9 10 11 12 ... etc My part of R receives all these data as an array: 1,2,3... 12 together with info about dimensions (row,col,fileN) . ( Converting the data into 3D cannot simpl