Raw Message
Message-ID: <1127831995.4523.12.camel@localhost.localdomain>
Date: 2005-09-27T14:39:55Z
From: Tom
Subject: dynamic lists (data frames?)
Can someone please show me what I need to get something like this to
work
for(a in c(1:5)){
data$a<-c(a:10)
}
so that i end up with a structure
data$1<-[1,2,3,4,5,6,7,8,9,10]
data$2<-[2,3,4,5,67,8,9,10]
data$3<-[3,4,5,67,8,9,10]
data$4<-[4,5,67,8,9,10]
data$5<-[5,67,8,9,10]
thanks loads
Tom