[R] Odp: for loop with global variables

2011-04-28 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 28.04.2011 16:16:16: > ivan > Odeslal: r-help-boun...@r-project.org > > 28.04.2011 16:16 > > Komu > > r-help@r-project.org > > Kopie > > Předmět > > [R] for loop with global variables > > Hi, > > is there a possibility to use global variables i

Re: [R] Odp: For-loop

2010-12-21 Thread Anne-Christine Mupepele
>Hi Petr, > >thank you, I got it. In fact I was looking for the function aggregate() which >I didn't know. > >aggregate(x = t(data), by = list(cov$Month, cov$Area), FUN = "sum") > >that is doing exactly what I need. > >Anne >-Ursprüngliche Nachricht- >Von: "Petr PIKAL" >Gesendet: 20.12.

[R] Odp: For-loop

2010-12-20 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 20.12.2010 11:48:51: > Hi, > I have the following problem: > > I have a data.frame with 36 sample sites (colums) for which I have covariates > in 3 categories: Area, Month and River. Each Area consists of 3 rivers, which > were sampled over 3 month.

[R] Odp: For Loop

2010-08-05 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 05.08.2010 10:47:03: > > I have some code that is working. > > The code calculates the error from the real vale when it does a run. > > The error in metres in called > > errorxy > > > I want to do 10 runs of the code and everytime it does a run I w