blup | R Documentation |
Fit an animal model to data, use a given variance ratio
(α = \frac{σ^2_e}{σ^ 2_a}). Calculate inverse of the
additive genetic relationship matrix using function makeInv()
of this package.
blup(formula, ped, alpha,trim = FALSE)
formula |
formula of the model, do not include the random effect due to animal (generally ID). |
ped |
|
alpha |
Variance ratio (\frac{σ^2_e}{σ^ 2_a}). |
trim |
If |
Vector of solutions to the model, including random animal effects.
SamplePedigree
, gblup
,
makeAinv
,blup
example(gblup) sol <- blup(P~1,ped = ped,alpha = 1/h2 - 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.