genAssign: Generation assignment

Description Usage Arguments Details Value See Also

Description

Given a pedigree, the function assigns the generation number each individual belongs in.

Usage

1
genAssign(pedigree)

Arguments

pedigree

A pedigree with columns organized: ID, Dam, Sire

Details

Zero is the base population.

Adapted from kindepth function in kinship

Value

A vector of values is returned. This vector is in the same order as the ID column of the pedigree.

See Also

kinship


nadiv documentation built on May 2, 2019, 4:55 p.m.