normal_survival | R Documentation |
For a given optimum phenotype and surivival variance, calculate survival probabilities from a normal distribution.
normal_survival(phenotypes, opt_pheno, var, max.survival = 0.5, ...)
phenotypes |
numeric. Vector of phenotypes. |
opt_pheno |
numeric. Optimum phenotype. |
var |
numeric. Variance of surivial distribution. |
max.survival |
numeric. Maximum possible survival probability. |
Surival probabilities are given by pnorm
. For values above the optimum phenotype,
the surivial is given by 1 - the resulting value. If a maxium survival other than 0.5 is given,
the surivivals are scaled such that individuals with the optimum phenotype will have the provided
survival probability.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.