possible_sibgroups: return a vector of indices of sibships that include at least...

Description Usage Arguments Examples

Description

Note that it is currently up to the user to ensure that no element of AFS exceeds the length-1 of IFS

Usage

1

Arguments

IFS

the individual full siblings group vector. A vector such that element i contains the base-0 index of the sibship to which the individual with index i belongs.

AFS

the vector of individual indexes (base 0) that have hi sibship lod with the focal individual. i.e. AFS = the Acceptable Full Siblings

Examples

1
2
possible_sibgroups(rep(16,50), 0:49)
possible_sibgroups(rep(0:9, each=3), sample(0:29, 10))

eriqande/fullsniplings documentation built on May 16, 2019, 8:45 a.m.