powered by
Calculation of start value for estimating optimal sample size
startvalue(lambda, R, nfam, weights = 1)
shrinkage parameter
(p x p) matrix containing theoretical correlation between SNP pairs
number of half-sib families
vector (LEN p) of SNP-specific weights or scalar if weights are equal for all SNPs; default value 1
start value
Minimum sample size that exceeds residual degrees of freedom; this value can be used as start value in grid search for optimal sample size
# NOT RUN { ### correlation matrix (should depend on sire haplotypes) R <- AR1(100, rho = 0.1) startvalue(1200, R, 10) # }
Run the code above in your browser using DataLab