View source: R/pedigree_fix_fuctions.R
est_cohort | R Documentation |
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.
est_cohort(pedigree, tt_rep = 2)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.