I have 963 lists, all containing the same type of information per list instance. The amount of data in any list at a given instance can vary, however. Instead of creating many lists, is there an efficient way to group the lists? Examples follow.
list001 <- c(originApt = 'ATL', destinApt = 'BOS', flightIndxs = c( 1 : 7 ) )
list002 <- c(originApt = 'ATL', destinApt = 'DEN', flightIndxs = c( 9 :19 ) )
:
list963 <- c(originApt = 'DCA', destinApt = 'TPA', flightIndxs = c( 8582, 8583, 8584, 8585, 8586, 8587 ) )
and so forth. Note that the length of integers in the third entry of each list varies in length. In matlab, I'd just construct a structure called 'flight' with an index for each list instance. Is there a way to organize my lists in R short of having many individual instances?