[R] Loop over several variables

bchr bochristoph at web.de
Thu Nov 1 16:10:10 CET 2012


Hey Don,

many thanks, I tried that and it works just fine. I have two questions
though:

1. In Addition to generating the t1-t5 (I have five iterations, in fact),
the code will generate an additional ti(without subscript), which seems to
be a copy of ti5. Is that what it should do ( and if yes, why?) or did I
make any mistake I am not aware of

2. Just so that I understand what I am doing here: what is this '.GlobalEnv'
about?

And just to mention that: at the moment I don't think I can really afford
considering things like style -  so as long as it works I am really happy;-)

Thank's again for your help

Bernhard



--
View this message in context: http://r.789695.n4.nabble.com/Loop-over-several-variables-tp4648112p4648130.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list