calcCres12.Rd
covariance between residuals of a pair of models for a trait pair
calcCres12(imod1, imod2, T1, T2, beta, SSy, Sxy, xcovo, Mx, Nqq)
index of model from STR for trait T1, to be called from beta
index of model from STR for trait T2, to be called from beta
index of first trait
index of second trait
list of joint beta estimates for each trait
matrix of trait cross-products
matrix with each column being the cross-product between SNPs and a trait
covariance matrix of c("one"=1,X)
vector of SNP means
has N[i,j]
= no. with both trait i and trait j measured