Hi all,

I am using performanceanalytics
<http://stackoverflow.com/questions/tagged/performanceanalytics> package
and specifically the function

chart.CumReturns. This works fine. But my question
is suppose instead of plotting the data I would like
chart.CumReturns to return me a table/data frame of values.

I realize that I can use cumsum function

df.cumsum = apply(df,2,cumsum)

but this only gives me arithmatic sum, whereas I would prefer geometric

cumulative return and chart.CumReturns seem to do a good job
in returning that information.

Thanks.

George

        [[alternative HTML version deleted]]

_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to