Hi Martin,
did you ever find a solution? I have the a similar problem because I want to
do a regression where the independent and dependent variables are matrices
of measurements. I can run loops to make each matrix one very long vector,
but I m looking for a more elegant solution.
Thank you! F
reshape::melt does this I think
Michael
On Wed, Oct 5, 2011 at 12:20 PM, Martin Batholdy
wrote:
> Hi,
>
>
> I am still struggling with three dimensional arrays.
>
> Now I would like to convert a three dimensional array into a data-frame with
> the coordinate-columns: x, y, z and a value-column.
Hi,
I am still struggling with three dimensional arrays.
Now I would like to convert a three dimensional array into a data-frame with
the coordinate-columns: x, y, z and a value-column.
And I definitely don't want to loop over every element, since this would be
very resource intensive for the
3 matches
Mail list logo