charts.PerformanceSummarypackage:PerformanceAnalyticsR Documentation

_C_r_e_a_t_e _c_o_m_b_i_n_e_d _w_e_a_l_t_h _i_n_d_e_x, _p_e_r_i_o_d _p_e_r_f_o_r_m_a_n_c_e, _a_n_d _d_r_a_w_d_o_w_n _c_h_a_r_t

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

     For a set of returns, create a wealth index chart, bars for
     monthly performance, and underwater chart for drawdown.

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

     charts.PerformanceSummary(R, Rf = 0, main = NULL, methods = c("ModifiedVaR",
                      "HistoricalVaR"), width = 0, event.labels = NULL, ylog
                      = FALSE, wealth.index = FALSE, gap = 12, begin =
                      c("first", "axis"), legend.loc = "topleft", ...)

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

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

      Rf: risk free rate, in same period as your returns 

    main: set the chart title, as in 'plot' 

 methods: Used to select the risk parameter to use in the chart.BarVaR.
          May be any of:

             *  None - does not add a line,

             *  ModifiedVaR - uses Cornish-Fisher modified VaR,

             *  GaussianVaR - uses traditional Value at Risk,

             *  HistoricalVaR - calculates historical Value at Risk,

             *  StdDev - monthly standard deviation of trailing 12
                month returns.

   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.

          passthru to 'chart.CumReturns' 

event.labels: TRUE/FALSE whether or not to display lines and labels for
          historical market shock events 

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

   width: number of periods to apply rolling function window over 

     gap: numeric number of periods from start of series to use to
          train risk calculation 

    ylog: TRUE/FALSE set the y-axis to logarithmic scale, similar to
          'plot', default FALSE 

legend.loc: sets the legend location in the top chart.  Can be set to
          NULL or nine locations on the chart: bottomright, bottom,
          bottomleft, left, topleft, top, topright, right, or center. 

     ...: any other passthru parameters 

_N_o_t_e:

     Most inputs are the same as "'plot'" and are principally included
     so that some sensible defaults could be set.

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

     Peter Carl

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

     'chart.CumReturns' 
      'chart.BarVaR' 
      'chart.Drawdown'

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

     data(edhec)
     charts.PerformanceSummary(edhec[,c(1,13)])

