[R] join chars in loops

Dirkheld dirk.bollen at soc.kuleuven.be
Fri Apr 25 16:40:47 CEST 2008


Hi,

Is it possible to create new vars in a loop

For instance: 

for (i in 1:11)
var'i' <- assign something

output =
var1
var2
...
var11

Is there a way to combine/join the value of 'i' to the string/char var in de
loop. 

-- 
View this message in context: http://www.nabble.com/join-chars-in-loops-tp16895854p16895854.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list