Hi,

is there a possibility to use global variables in a for loop. More
specifically, I want to do the following:

output.1<-rbind("a","b")
output.2<-rbind("c","d")
output.3<-rbind("e","f")
.
.
.
output.n<-rbind(...,...)

next I want to create a data frame with two columns:

Outputs
Values  output.1 "a","b"  output.2 "c","d"  output.3 "e","f"  .
 .
 output.n …,…
My problem is that I do not how to define a loop over global variables.
Anybody an idea?

Thanks.

        [[alternative HTML version deleted]]

______________________________________________
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