Re: [R] Odp: How to change row value based on previous row value

2007-10-08 Thread Peter Dalgaard
Petr PIKAL wrote: > Peter Dalgaard <[EMAIL PROTECTED]> napsal dne 08.10.2007 16:31:28: > > >> Petr PIKAL wrote: >> >>> Hi >>> >>> [EMAIL PROTECTED] napsal dne 08.10.2007 14:24:13: >>> >>> >>> Hi, I would like to fix the data in the following data.frame, and I am h

Re: [R] Odp: How to change row value based on previous row value

2007-10-08 Thread Petr PIKAL
Peter Dalgaard <[EMAIL PROTECTED]> napsal dne 08.10.2007 16:31:28: > Petr PIKAL wrote: > > Hi > > > > [EMAIL PROTECTED] napsal dne 08.10.2007 14:24:13: > > > > > >> Hi, > >> > >> I would like to fix the data in the following data.frame, and I am > >> having trouble coding this in R - help please!

Re: [R] Odp: How to change row value based on previous row value

2007-10-08 Thread Peter Dalgaard
Petr PIKAL wrote: > Hi > > [EMAIL PROTECTED] napsal dne 08.10.2007 14:24:13: > > >> Hi, >> >> I would like to fix the data in the following data.frame, and I am >> having trouble coding this in R - help please! >> >> >>> x >>> >> AB xy z >> 1 1 10.0 100 1000 1 >>