Hello,

 

This is an urgent request. I want to convert a list of 3 elements into a
matrix and I am not sure how to do it.

 

The list looks like this:

List of 3

 $ : num [1:15364, 1] 0.133 0.622 0.588 1.024 0.583 ...

  ..- attr(*, "dimnames")=List of 2

  .. ..$ : chr [1:15364] "6420681" "3610072" "2260458" "60689" ...

  .. ..$ : NULL

 $ : num [1:15364, 1] 3.159 0.265 0.522 1.912 3.380 ...

  ..- attr(*, "dimnames")=List of 2

  .. ..$ : chr [1:15364] "6420681" "3610072" "2260458" "60689" ...

  .. ..$ : NULL

 $ : num [1:15364, 1] 3.214 0.277 1.447 1.827 2.054 ...

  ..- attr(*, "dimnames")=List of 2

  .. ..$ : chr [1:15364] "6420681" "3610072" "2260458" "60689" ...

  .. ..$ : NULL

 

I want to convert it to a matrix like this:

 

ID

1

2

3

6420681

0.1332478

3.15862

3.214367

3610072

0.6219358

0.265226

0.276525

2260458

0.5876415

0.522378

1.44687

60689

1.0240852

1.911613

1.827464

 

Thanks 

 

Manisha

			

 

 


	[[alternative HTML version deleted]]


