# NOT RUN {
data(testdata)
G <- Haplo2Geno(H.sire)
E <- ExpectMat(G)
LDfam2 <- LDsire(H.sire, pos.chr, family = 3:4)
LDfam3 <- LDsire(H.sire, pos.chr, family = 5:6)
## covariance matrix based on sires 2 and 3 only, each with 100 progeny
K <- CovarMatrix(E[2:3, ], LDDam = matLD, LDSire = list(LDfam2, LDfam3), Ns = c(100, 100))
# }
Run the code above in your browser using DataLab