corr package:boot R Documentation _C_o_r_r_e_l_a_t_i_o_n _C_o_e_f_f_i_c_i_e_n_t _D_e_s_c_r_i_p_t_i_o_n: Calculates the weighted correlation given a data set and a set of weights. _U_s_a_g_e: corr(d, w=rep(1,nrow(d))/nrow(d)) _A_r_g_u_m_e_n_t_s: d: A matrix with two columns corresponding to the two variables whose correlation we wish to calculate. w: A vector of weights to be applied to each pair of observations. The default is equal weights for each pair. Normalization takes place within the function so 'sum(w)' need not equal 1. _D_e_t_a_i_l_s: This function finds the correlation coefficient in weighted form. This is often useful in bootstrap methods since it allows for numerical differentiation to get the empirical influence values. It is also necessary to have the statistic in this form to find ABC intervals. _V_a_l_u_e: The correlation coefficient between 'd[,1]' and 'd[,2]'. _S_e_e _A_l_s_o: 'cor'