Re: [R] converting matrix in array

2011-08-28 Thread William Dunlap
quot;obj2-ptA-x" "obj2-ptA-y" "obj2-ptA-z" [2,] "obj2-ptB-x" "obj2-ptB-y" "obj2-ptB-z" Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r

Re: [R] converting matrix in array

2011-08-28 Thread David Winsemius
On Aug 28, 2011, at 5:09 PM, marco wrote: Hi everyone, have a small problem trying to converting a dataset in matrix form to an array. Specifically: data include 3D measurement -x,y,z of 59 points in 36 objects. They are stored as a matrix (x) of 2124 rows and 3 columns. What I want to do

[R] converting matrix in array

2011-08-28 Thread marco
Hi everyone, have a small problem trying to converting a dataset in matrix form to an array. Specifically: data include 3D measurement -x,y,z of 59 points in 36 objects. They are stored as a matrix (x) of 2124 rows and 3 columns. What I want to do is to extract each subject's dataset using an arra