Description Usage Arguments Value
View source: R/assortative_mating_functions.R
The genotype effects consist of the effect for each locus, which is drawn from a Normal(0,1) distribution for each locus and the genetic standard deviation of that trait which is the standard deviation for each trait normalised by the allele frequency.
1 | generate_effects(loci, allele_freq, env_var)
|
loci |
A vector with the loci affecting the trait. |
allele_freq |
The allele frequency of sampled loci. A vector at least as long as max loci specified. |
env_var |
The environmental variance for the trait. |
A list with elements of the effect and the genetic standard deviation on the trait of class effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.