[R] List to Array

Gabor Grothendieck ggrothendieck at gmail.com
Wed Apr 5 15:07:30 CEST 2006


Please supply some test data and the expected answer
since its not clear what is desired here.

On 4/5/06, Werner Wernersen <pensterfuzzer at yahoo.de> wrote:
> Hi,
>
> this is probably the easiest thing to do but I manage
> not finding the answer:
> I have a list with matrices of exact same format and
> headers. Now I would like to transform the list into
> an normal array. What is the proper way to do this?
> as.array changes the entire format and right now I
> only found the method of creating a new array, going
> through the entire list and copy the matrix in each
> list element to the new array.
>
> Thanks a million for your help!
>  Werner
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list