zcum[2:length(zz[,1]),]
Thanks so much for al the help !
Dirk Eddelbuettel <[EMAIL PROTECTED]>
09/01/2006 02:59 PM
To
[EMAIL PROTECTED]
cc
r-help@stat.math.ethz.ch
Subject
Re: [R] cumulative growth rates indexed to a common starting point over n
series of observations
On
On 1 September 2006 at 14:59, Dirk Eddelbuettel wrote:
|
| On 1 September 2006 at 14:30, [EMAIL PROTECTED] wrote:
| | The apply with the cumprod was exactly what I was after. The apply just
| | wasn't clicking with me, and I had overlooked the cumprod. Thanks to all
| | for pushing me down th
That is choice !I'm starting to love this language. Thank-you !
Dirk Eddelbuettel <[EMAIL PROTECTED]>
09/01/2006 02:59 PM
To
[EMAIL PROTECTED]
cc
r-help@stat.math.ethz.ch
Subject
Re: [R] cumulative growth rates indexed to a common starting point over n
series of o
On 1 September 2006 at 14:30, [EMAIL PROTECTED] wrote:
| The apply with the cumprod was exactly what I was after. The apply just
| wasn't clicking with me, and I had overlooked the cumprod. Thanks to all
| for pushing me down the right path!
|
| Actually, what I am ultimately after is a way t
.7916 122.5278
Dirk Eddelbuettel <[EMAIL PROTECTED]>
08/31/2006 05:03 PM
To
[EMAIL PROTECTED]
cc
r-help@stat.math.ethz.ch
Subject
Re: [R] cumulative growth rates indexed to a common starting point over n
series of observations
On 31 August 2006 at 15:22, [EMAIL PROTECTED] wrote
ath.ethz.ch
Subject
Re: [R] cumulative growth rates indexed to a common starting point over n
series of observations
On 31 August 2006 at 15:22, [EMAIL PROTECTED] wrote:
| What is the R way of computing cumulative growth rates given a series of
| discrete values indexed .
|
| For instance, giv
On 31 August 2006 at 15:22, [EMAIL PROTECTED] wrote:
| What is the R way of computing cumulative growth rates given a series of
| discrete values indexed .
|
| For instance, given a matrix of 20 observations for each of 5 series (zz),
| what is the most straight forward technique in R for compu
i think you can add 1 to whatever series you are considering and then use
cumprod() but check that that works.
also do ?cumprod
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 31, 2006 4:22 PM
Subject: [R] cumulative growth rates indexed to a common st
What is the R way of computing cumulative growth rates given a series of
discrete values indexed .
For instance, given a matrix of 20 observations for each of 5 series (zz),
what is the most straight forward technique in R for computing cumulative
growth (zzcum) ?
It seems for the solution I'm