table.Correlation    package:PerformanceAnalytics    R Documentation

_c_a_l_c_u_l_a_t_e _c_o_r_r_e_l_a_l_a_t_i_o_n_s _o_f _m_u_l_t_i_c_o_l_u_m_n _d_a_t_a

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

     This is a wrapper for calculating correlation and significance
     against each column of the data provided.

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

     table.Correlation(Ra, Rb, ...)

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

      Ra: a vector of returns to test, e.g., the asset to be examined 

      Rb: a matrix, data.frame, or timeSeries of benchmark(s) to test
          the asset against. 

     ...: any other passthru parameters to 'cor.test' 

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

     A dataframe with correlation and significance against each column
     of the data provided as 'Rb'.

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

     Peter Carl

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

     'cor.test'

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

     # First we load the data
     data(managers)
     table.Correlation(managers[,1:6],managers[,7:8])
     ctable = table.Correlation(managers[,1:6],managers[,8,drop=FALSE], conf.level=.99)
     dotchart(ctable[,1],labels=rownames(ctable),xlim=c(-1,1))

