Skip to content
Prev 2612 / 15274 Next

How to compute percentage change of xts ?

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