Re: [R] how to get growth rate of a (time series) data?

2013-06-20 Thread peter dalgaard
On Jun 20, 2013, at 00:16 , Rolf Turner wrote: > This is yet another illustration of the rule that if there is a 50-50 chance > of > getting things the wrong way around, then there is actually a probability > of one of getting things the wrong way around. Isn't that suppposed to be ... Oh, wait

Re: [R] how to get growth rate of a (time series) data?

2013-06-19 Thread Rolf Turner
On 19/06/13 23:24, R. Michael Weylandt wrote: On Wed, Jun 19, 2013 at 12:04 PM, Yanyuan Zhu wrote: Hello all, now I'm trying to switch from Excel to R to deal with the data, and as a newbie i got the problem as follows. suppose I have a data named "test" test<- data.frame(year=c(1996:2011), Y=

Re: [R] how to get growth rate of a (time series) data?

2013-06-19 Thread Gabor Grothendieck
On Wed, Jun 19, 2013 at 7:04 AM, Yanyuan Zhu wrote: > Hello all, now I'm trying to switch from Excel to R to deal with the data, > and as a newbie i got the problem as follows. > > suppose I have a data named "test" > test<- data.frame(year=c(1996:2011), > Y=c(74163.6,81658.5,86531.6,91125.0,98749

Re: [R] how to get growth rate of a (time series) data?

2013-06-19 Thread Blaser Nello
..@r-project.org] On Behalf Of Yanyuan Zhu Sent: Mittwoch, 19. Juni 2013 13:04 To: r-help@r-project.org Subject: [R] how to get growth rate of a (time series) data? Hello all, now I'm trying to switch from Excel to R to deal with the data, and as a newbie i got the problem as follows. suppose

Re: [R] how to get growth rate of a (time series) data?

2013-06-19 Thread Joshua Ulrich
On Wed, Jun 19, 2013 at 6:24 AM, R. Michael Weylandt wrote: > On Wed, Jun 19, 2013 at 12:04 PM, Yanyuan Zhu wrote: >> Hello all, now I'm trying to switch from Excel to R to deal with the data, >> and as a newbie i got the problem as follows. >> >> suppose I have a data named "test" >> test<- data

Re: [R] how to get growth rate of a (time series) data?

2013-06-19 Thread R. Michael Weylandt
On Wed, Jun 19, 2013 at 12:04 PM, Yanyuan Zhu wrote: > Hello all, now I'm trying to switch from Excel to R to deal with the data, > and as a newbie i got the problem as follows. > > suppose I have a data named "test" > test<- data.frame(year=c(1996:2011), > Y=c(74163.6,81658.5,86531.6,91125.0,9874

[R] how to get growth rate of a (time series) data?

2013-06-19 Thread Yanyuan Zhu
Hello all, now I'm trying to switch from Excel to R to deal with the data, and as a newbie i got the problem as follows. suppose I have a data named "test" test<- data.frame(year=c(1996:2011), Y=c(74163.6,81658.5,86531.6,91125.0,98749.0,109028.0,120475.6,136613.4,160956.6,187423.5,222712.5,266599.