powered by
Computes a matrix A whose entry A[i,j] is TRUE if pedigree members i and j have a common ancestor, and FALSE otherwise.
hasCA(x)
a linkdat object.
linkdat
# NOT RUN { x = fullSibMating(3) A = hasCA(x) stopifnot(A[1,1], !A[1,2], all(A[3:8, 3:8])) # }
Run the code above in your browser using DataLab