[R] How should I denormalise a data frame list of lists column?

2009-07-01 Thread Tim Slidel
Hi, I have a data frame where one column is a list of lists. I would like to subset the data frame based on membership of the lists in that column and be able to 'denormalise' the data frame so that a row is duplicated for each of its list elements. Example code follows: # The data is read in in

[R] How should I denormalise a data frame list of lists column?

2009-07-01 Thread Tim Slidel
Hi, (apologies for initial html posting) I have a data frame where one column is a list of lists. I would like to subset the data frame based on membership of the lists in that column and be able to 'denormalise' the data frame so that a row is duplicated for each of its list elements. Example