Description Usage Arguments Details Value Examples
Calculation of start value for estimating optimal sample size
1 | startvalue(lambda, R, nfam, weights = 1)
|
lambda |
shrinkage parameter |
R |
(p x p) matrix containing theoretical correlation between SNP pairs |
nfam |
number of half-sib families |
weights |
vector (LEN p) of SNP-specific weights or scalar if weights are equal for all SNPs; default value 1 |
Minimum sample size that exceeds residual degrees of freedom; this value can be used as start value in grid search for optimal sample size
start value
1 2 3 | ### correlation matrix (should depend on sire haplotypes)
R <- AR1(100, rho = 0.1)
startvalue(1200, R, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.