Description Usage Arguments Examples
View source: R/MGDrivE-Auxiliary.R
Solves for root of equation of geometrically-distributed lifespan for value of omega.
1 | calcOmega(mu, lifespanReduction)
|
mu |
Daily mortality probability (discrete-time hazard, called |
lifespanReduction |
Target reduced lifespan, between 0 and 1 (target average lifespan will be \frac{1}{μ_{Ad}} \times lifespanReduction) |
1 2 3 | # reduce lifespan by 10%
# Example mu is an average for Aedes
newOmega <- calcOmega(mu = 0.11, lifespanReduction = 0.90)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.