[R-SIG-Finance] How to compute percentage change of xts ?
pierre8r-list at yahoo.fr
pierre8r-list at yahoo.fr
Wed Jul 2 20:56:25 CEST 2008
Helllo,
Sorry, I repost my e-mail because I forgot the title.
My script creates an xts object.
First question:
I would like to compute for each Open Close from this time-series, the percentage change.
Is there a function that realizes this?
Second question:
I wish also to calculate the percentage change between two consecutive Close.
Is there a function that realizes this?
Thank you,
Pierre8r
____________________________________________________________
ente http://mail.yahoo.fr
More information about the R-SIG-Finance
mailing list