additive_genetic | R Documentation |
Check conformity of arguments and return a additive_genetic
object.
additive_genetic(pedigree, incidence)
pedigree |
object of class 'pedigree' |
incidence |
matrix-like object |
A list with elements pedigree
, incidence.matrix
,
structure.matrix
and structure.type
, which is a string
indicating either covariance
or precision
.
ped <- pedigreemm::pedigree(sire = c(NA,NA,1, 1,4,5),
dam = c(NA,NA,2,NA,3,2),
label= 1:6)
inc <- cbind(0, 0, diag(4))
breedR:::additive_genetic(ped, inc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.