s-news
[Top] [All Lists]

Indexing dataframes

To: s-news@lists.biostat.wustl.edu
Subject: Indexing dataframes
From: Janine Kirwan <j.e.kirwan@totalise.co.uk>
Date: Fri, 27 Apr 2001 13:52:03 +0100
I am using S200 R3 underr win98.

I have a number of data frames with names data1, data2, ...., datan.
Can I refer to each of these from within a loop.


This will print the names I want.

for(i in 1:n)
print(paste("data",i,sep=""))

I wish to run a function on each of the dataframes.
Each dataframe may be very large so I don't think a list or larger data 
structure will help.

Thanks in advance

-----------------------
The Totalise Email system, probably the most flexible email system in the
world. To register for an account goto http://www.totalise.net


<Prev in Thread] Current Thread [Next in Thread>
  • Indexing dataframes, Janine Kirwan <=