Qgpu {ggroups} | R Documentation |
Vector Qg + u
Description
Adds genetic group contributions to the genetic merit of individuals.
Usage
Qgpu(Q, sol)
Arguments
Q |
|
sol |
: |
Value
Vector of Qĝ + û
Examples
ped = data.frame(ID=c(3,4,6,5), SIRE=c(1,3,4,1), DAM=c(2,2,5,2))
Q = qmatL(gghead(ped))
ghat = c(0.1, -0.2)
uhat = seq(-1.5, 1.5, 1)
sol = data.frame(ID=1:6, EBV=c(ghat, uhat))
Qgpu(Q, sol)
[Package ggroups version 2.1.2 Index]