Re: [R] repeat matrix column within each array third dimension

2011-03-09 Thread Uwe Ligges
See ?aperm for changing the dimensions afterwards. Uwe Ligges On 08.03.2011 10:14, Folkes, Michael wrote: Hello all, I'm working with a matrix that will have varying dimensions. It will populate an array such that the number of matrix columns will determine the number of 3rd dimension level

[R] repeat matrix column within each array third dimension

2011-03-08 Thread Folkes, Michael
Hello all, I'm working with a matrix that will have varying dimensions. It will populate an array such that the number of matrix columns will determine the number of 3rd dimension levels of the array. Rows will be the same for both. For this example lets say the array will have 2 columns, but