maxmatrix                package:sca                R Documentation

_L_a_r_g_e_s_t _E_l_e_m_e_n_t _i_n _C_o_r_r_e_l_a_t_i_o_n _M_a_t_r_i_x

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

     return position and value of the largest element of a correlation
     matrix R (without taking into account the diagonal elements)

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

     maxmatrix(R)

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

       R: a square symmetric numeric matrix

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

     a list with components 

     row: row index of maximum

     col: col index of maximum

     val: value of maximum, i.e. 'val == R[row,col]'.

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

     'sca', also for references

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

     data(reflexesC)
     maxmatrix(reflexesC) # ->  0.98 at  [1, 2]

