Computes the number of equivalent complete generations (t), as defined by Boichard et al (1997).
Usage
pop_t(ped, name_to = "t")
Value
The input dataframe, plus an additional column corresponding to the number of equivalent complete generations of every individual (named "t" by default).
Arguments
ped
A dataframe containing the pedigree. Individual (id), maternal (dam), and paternal (sire) identities are mandatory columns.
name_to
A string naming the new output column.
References
Boichard D, Maignel L, Verrier E. 1997. The value of using probabilities of gene origin to measure genetic variability in a population. Genet. Sel. Evol., 29: 5-23.