Learn R Programming

nadiv (version 2.9)

DFC: Indicates Double First Cousins

Description

Given all eight grandparents of two individuals, the function will indicate whether they are double first cousins. Mainly to be used inside of findDFC

Usage

DFC(ij.grandparents)

Arguments

ij.grandparents
a vector indicating the dam and sire of both i's and j's dam and sire

Value

  • returns either a 0 if individual's i and j are not double first cousins, or a 1 if they are

See Also

findDFC