[R] re name vector
canadiangirl19
canadiangirl19 at sms.at
Fri Jan 16 12:58:10 CET 2009
I´m a really R beginer,
so I have a simply question.
I would like to rename a vector in a loop.
I´d like to have as output:
vector1<-whatever
vector2<-whatever
vector3<-whatever
etc..
so I thought it´s easily
for (s in c(1:3)){
vector"n"<- whatever
}
but I´m getting an error.
cheers
--
View this message in context: http://www.nabble.com/rename-vector-tp21497882p21497882.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list