[R] List of Data Frames

Mike Smith mikesmith00 at yahoo.com
Tue May 3 01:42:33 CEST 2011


I'm trying to create a list of Data Frames.  I have 17 data frames that I need to move through in a loop, but if I simply make a list of them, then they do not stay data frames, and I can't sort through them.  I tried to create an array, but the data frames can have anywhere from 14-16 rows, and I couldn't find a way to make a variable size array.  If you have any ideas, I would greatly appreciate any help, as I'm trying to learn R, and decided to apply it to a project that I have been working on.  My goal is splitting a sports season into games per week, and then do statistics on each week, but have an average running up to that point in the season.  Thus the list would be indexed by weeks, and then there's a data frame of the game and all relevant statistics. 

Thank You,
Mike Smith




More information about the R-help mailing list