[R] Loop question

Özgür Asar oasar at metu.edu.tr
Thu May 31 07:58:22 CEST 2012


Dear Sebastian,

The following will create the names

paste("sb",1:5,sep="")
paste("sw",1:5,sep="")
paste("Lw",1:5,sep="")
paste("Lb",1:5,sep="")

Then you can easily combine and/or order them in R.

Hope this helps.
Ozgur

-----
************************************
Ozgur ASAR

Research Assistant
Middle East Technical University
Department of Statistics
06531, Ankara Turkey
Ph: 90-312-2105309
http://www.stat.metu.edu.tr/people/assistants/ozgur/
--
View this message in context: http://r.789695.n4.nabble.com/Loop-question-tp4631896p4631900.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list