search for: rho_sv

Displaying 1 result from an estimated 1 matches for "rho_sv".

Did you mean: rho_pv
2007 Oct 16
2
How to speed up multiple for loop over list of data frames
...st[[p]][i,"v"] v_j[p] = alist[[p]][j,"v"] } rho_s = cor(v_i, v_j, method = "spearman") rho_p = cor(v_i, v_j, method = "pearson" ) iv = c( iv, min(i, j) ) jv = c( jv, max(i, j) ) rho_sv = c( rho_sv, rho_s) rho_pv = c( rho_pv, rho_p) } } N is of the order of 400, M about 800. This takes me an entire day basically. Is there anything I could do to speed things up or is cor really that slow? -- D --------------------------------- [[alternativ...