Skip to content
Prev 177215 / 398506 Next

Transfer data

Hi,

I need transfer data from vector("list", 6) to array(dim=c(6))
(example: x receives data from tipo[[1]] ).


Thanks


tipo <- vector("list", 6)
tipo
[[1]]
[1] 1 2 3 5 6

[[2]]
[1]  4  8  9 14

[[3]]
[1]  7 10 11 12

[[4]]
[1] 13 15 16

[[5]]
NULL

[[6]]
NULL

x <- array(dim=c(6))