Entering edit mode
pankaj borah
▴
120
@pankaj-borah-3804
Last seen 10.3 years ago
I have a list ( L) of 63 objects and each object has 30800 variables.
>str (L)
List of 63
$ objec1 : num [1:30300] 0.927 0.813 0.397 0.703 0.651 ...
$ object2 : num [1:30300] 0.636 0.447 0.738 0.648 0.62 ...
.............
$ object63 : num [1:30380] 0.1123 0.2119 0.4078 0.0383 0.0641 ....
I want to convert the list L to a matrix M
So it should be ---
>str(M)
num [1:30380, 1:63]
attr(*, "dimnames")=List of 2
How do I do that ?
Regards,
Pankaj Barah
Department of Biology,
Norwegian University of Science & Technology (NTNU)
Realfagbygget, N-7491 Trondheim, Norway
[[alternative HTML version deleted]]