muvar: Means and variances under 1- and 2- locus (biallelic) QTL model
Description
Function muvar() gives means and variances under 1-locus and 2-locus QTL model (simple);
in the latter case it gives results from different avenues. This function is included for
experimental purpose and yet to be generalized.
if (FALSE) {
# the default 1-locus modelmuvar(n.loci=1,y1=c(0,1,1),p1=0.5)
# the default 2-locus modelmuvar(n.loci=2,y12=c(1,1,1,1,1,0,0,0,0),p1=0.99,p2=0.9)
}