chart.Drawdown     package:PerformanceAnalytics     R Documentation

_T_i_m_e _s_e_r_i_e_s _c_h_a_r_t _o_f _d_r_a_w_d_o_w_n_s _t_h_r_o_u_g_h _t_i_m_e

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

     A time series chart demonstrating drawdowns from peak equity
     attained through time, calculated from periodic returns.

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

     chart.Drawdown(R, legend.loc = NULL, colorset = (1:12), ...)

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

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

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

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

     ...: any other passthru parameters 

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

     Any time the cumulative returns dips below the maximum cumulative
     returns, it's a drawdown.  Drawdowns are measured as a percentage
     of that maximum cumulative return, in effect, measured from peak
     equity.

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

     A chart with time on the x-axis and the value peak equity attained
     on the y-axis.

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

     Peter Carl

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

     'plot' 
      'chart.TimeSeries' 
      'findDrawdowns' 
      'sortDrawdowns' 
      'maxDrawdown' 
      'table.Drawdowns' 
      'table.DownsideRisk'

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

     data(edhec)
     chart.Drawdown(edhec[,c(1,2)], main="Drawdown from Peak Equity Attained", legend.loc="bottomleft")

