hasCA {paramlink}R Documentation

Pairwise common ancestors

Description

Computes a matrix A whose entry A[i,j] is TRUE if pedigree members i and j have a common ancestor, and FALSE otherwise.

Usage

hasCA(x)

Arguments

x

a linkdat object.

Examples


x = fullSibMating(3)
A = hasCA(x)
stopifnot(A[1,1], !A[1,2], all(A[3:8, 3:8]))


[Package paramlink version 1.1-5 Index]