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.

______________________________________________
R-help@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.

Reply via email to