genAssign: Generation assignment

Description Usage Arguments Details Value See Also

View source: R/genAssign.R

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 31, 2017, 2:38 a.m.