The vector is as follows:
c(1,2,3) #[1] 1 2 3
I need something like this:
list(1,2,3) #[[1]] #[1] 1 # #[[2]] #[1] 2 # #[[3]] #[1] 3
I tried this:
list(c(1,2,3)) #[[1]] #[1] 1 2 3
Just, just do the following:
as.list(c(1,2,3))