The user does not need to call this function. This internal function is called by make_corr_mat
and populates a single cell. Assumes X1 is the covariate of interest.
cell_corr(vname.1, vname.2, rho.XX, rho.YY, rho.XY, nY, prop.corr = 1)Quoted name of first variable
Quoted name of second variable
Correlation between pairs of Xs
Correlation between all pairs of Ys
rho.XY Correlation between pairs of X-Y (of non-null ones)
Number of outcomes
Proportion of X-Y pairs that are non-null (non-nulls will be first .prop.corr * .nY pairs)