I cannot find out can to get a list of all entry of the sublists? Here\'s a simple example, a list o lists:
listoflists <- list(\"A\"=list(c(1,2,3),c(2,34
We can use the concatenate function (c) within do.call to flatten the nested list
c
do.call
list
res <- do.call(c, listoflists) all.equal(listofvectors, res, check.attributes = FALSE) #[1] TRUE
Or as @d.b mentioned in the comments, unlist with recursive = FALSE can also work
unlist
recursive = FALSE
unlist(listoflists, recursive = FALSE)