chart.CumReturns    package:PerformanceAnalytics    R Documentation

_C_u_m_u_l_a_t_e_s _a_n_d _g_r_a_p_h_s _a _s_e_t _o_f _p_e_r_i_o_d_i_c _r_e_t_u_r_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     Chart that cumulates the periodic returns given and draws a line
     graph of the results as a "wealth index".

_U_s_a_g_e:

     chart.CumReturns(R, wealth.index = FALSE, legend.loc = NULL, colorset =(1:12), begin = c("first","axis"), ...)

_A_r_g_u_m_e_n_t_s:

       R: an xts, vector, matrix, data frame, timeSeries or zoo object
          of asset returns 

wealth.index: if 'wealth.index' is 'TRUE', shows the "value of $1",
          starting the cumulation of returns at 1 rather than zero 

legend.loc: places a legend into one of nine locations on the chart:
          bottomright, bottom, bottomleft, left, topleft, top,
          topright, right, or center. 

colorset: color palette to use, set by default to rational choices 

   begin: Align shorter series to:

             *  first - prior value of the first column given for the
                reference or longer series or,

             *  axis  - the initial value (1 or zero) of the axis.

     ...: any other passthru parameters 

_D_e_t_a_i_l_s:

     Cumulates the return series and displays either as a wealth index
     or as cumulative returns.

_V_a_l_u_e:

     A timeseries line chart of the cumulative return series.

_A_u_t_h_o_r(_s):

     Peter Carl

_R_e_f_e_r_e_n_c_e_s:

     Bacon, Carl. _Practical Portfolio Performance Measurement and
     Attribution_. Wiley. 2004. 

_S_e_e _A_l_s_o:

     'chart.TimeSeries' 
      'plot'

_E_x_a_m_p_l_e_s:

     data(edhec)
     chart.CumReturns(edhec[,"Funds of Funds",drop=FALSE],main="Cumulative Returns")
     chart.CumReturns(edhec[,"Funds of Funds",drop=FALSE],wealth.index=TRUE, main="Value of \$1")

