Computes the reproductive value
reproductive_value(
ped,
reference,
name_to,
target = NULL,
enable_correction = TRUE
)
The input dataframe, plus an additional column with reproductive values for the reference and target populations assumed.
A dataframe containing the pedigree. Individual (id), maternal (dam), and paternal (sire) identities are mandatory columns.
A string naming a column indicating whether individuals belong to the reference population or not. Column must be boolean or coercible to boolean type.
A string naming the new output column.
A string naming a column indicating whether individuals belong to the target population or not. Column must be boolean or coercible to boolean type. By default, all descendants of the reference population are used.
Correct reproductive values.
Hunter DC et al. 2019. Pedigree-based estimation of reproductive value. Journal of Heredity 110 (4): 433-444