binningPlot             package:fAssets             R Documentation

_B_i_v_a_r_i_a_t_e _H_i_s_t_o_g_r_a_m _P_l_o_t_s _o_f _A_s_s_e_t_s

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

     Displays bivariate histogram plots of assets returns.

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

     assetsHistPairsPlot(x, bins = 30, method = c("square", "hex"), ...) 

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

       x: any rectangular time series object which can be converted by
          the  function 'as.matrix()' into a matrix object, e.g. like
          an  object of class 'timeSeries', 'data.frame', or 'mts'.  

    bins: an integer value, the number of bins used for the biariate 
          histogram. 

  method: a character string denoting whic h type of binning should be
          used, either '"squared"' or '"hexagonal"'. 

     ...: optional arguments to be passed. 

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

     Diethelm Wuertz for the Rmetrics port.

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

     Wuertz, D., Chalabi, Y., Chen W., Ellis A. (2009); _Portfolio
     Optimization with R/Rmetrics_,  Rmetrics eBook, Rmetrics
     Association and Finance Online, Zurich.

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

     ## LPP2005REC -
        LPP = as.timeSeries(data(LPP2005REC))
          
     ## assetsHistPairsPlot -
        assetsHistPairsPlot(LPP[, c("LMI", "ALT")])
        assetsHistPairsPlot(LPP[, c("LMI", "ALT")], method = "hex")

