Inverse of G by the Vecchia recursion
Arguments
- m
matrix of 0/1/2 genotypes (animals in rows); NA imputed by the mean, and an animal with a call rate below 0.90 refused, as in
model(). Rows should come ancestors first: conditioning on the past is what the recursion means- k
neighbors per animal, chosen as the k strongest |g_ij| among the PREVIOUS rows (deterministic ties by index).
k >= n - 1reproduces the exact inverse- lambda
shrinkage on the diagonal of G, as in
apy_inverse()- g
optionally, a ready relationship matrix (then
mis ignored): the recursion applies to any symmetric positive-definite matrix, the pedigree A included, with the parents as neighbors it reproduces Henderson's A^-1 exactly