On 06.01.2010 11:19, Hadassa Brunschwig wrote:
Hi

There must have someone already posted this question but I still have not
figured how I could do this:

So please read the posting guide and according to that search in the mailing list archives and particularly the R FAQs (it is descibred in there!).

Uwe Ligges


Say I have var.1 var.2 var.3 which are large matrices. I would like to do
the following loop:

for(i in 1:3){
   # Pick var.i and do something with it
}

How can I tell R to do this?

Thanks for any comments.
Hadassa

        [[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.

______________________________________________
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