In R, I'm not sure how to build a list of lists. I have a number of lists that I'd like to combine into a single data structure to make accessing them easier. However, it appears that in R, you cannot utilise a list of lists, thus if I acquire list l1 from another list, say, l2, I won't be able to access the components of l1. How can I put it into practise?
EDIT: Here's an example of something that doesn't work for me:
list1 is a list of a list of a list of a list of ()
1 in list1
2 in list1
list2 - a list of a list of a list of a list ()
'a' in list2
'b' in list2
list all - a list of everything (list1, list2)
a = list all a = list all a = list all[
However, it should be a list!