I don\'t know how to make a list of lists in R. I have several lists, I want to store them in one data structure to make accessing them easier. However, it looks like you ca
If you are trying to keep a list of lists (similar to python's list.append()) then this might work:
list
python
list.append()
a <- list(1,2,3) b <- list(4,5,6) c <- append(list(a), list(b)) > c [[1]] [[1]][[1]] [1] 1 [[1]][[2]] [1] 2 [[1]][[3]] [1] 3 [[2]] [[2]][[1]] [1] 4 [[2]][[2]] [1] 5 [[2]][[3]] [1] 6