est_cohort: Function to estimate missing cohorts

View source: R/pedigree_fix_fuctions.R

est_cohortR Documentation

Function to estimate missing cohorts

Description

A function that estimates cohorts for individuals without a known cohort. It uses only pedigree and cohort information and should be secondary to more accurate predictions. If offspring information is present this is used, based on a provided to reproduction. When offspring data is absent a mean of sibling cohorts is used. The function loops using the new estimates until no further cohorts can be estimated.

Usage

est_cohort(pedigree, tt_rep = 2)

Arguments

pedigree

A dataframe or matrix. A pedigree with ID, Sire and Dam columns

tt_rep

integer. Time to reproduction. A value of the length of time between birth and reproduction. Defaults to 2


simplydch/GeneDrop documentation built on July 8, 2024, 8:17 p.m.