[R] List of Data Frames

From: Mike Smith <mikesmith00_at_yahoo.com>
Date: Mon, 02 May 2011 16:42:33 -0700 (PDT)


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



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 05 May 2011 - 06:25:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 May 2011 - 07:00:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive