Description Usage Arguments Value
View source: R/assortative_mating_functions.R
Generate the pairs selected by mothers
1 | assort_mating(popsize, female_phenotype, male_phenotype, corr_coeff)
|
female_phenotype |
A numeric vector giving the phenotypes of all females |
male_phenotype |
A numeric phenotype giving the phenotypes of all males |
corr_coeff |
The correlation coefficient between phenotypes for males and females |
pop_size |
The number of pairs to generate. |
the indices of the returned mothers and fathers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.