ExpansionPopFunc function
ExpansionPopFunc(Double NA, Double r, Double NC, Double x, Integer I_na)
Models population using a piecewise constant-exponential function with optional NA and I_na.
Parameters
- Double NA - Ancestral population size.
- Double r - Exponential decay rate.
- Double NC - Population size for [0, x].
- Double x - Time boundary x.
- Integer I_na - Indicator for NA usage (0 or 1).
Return type
Examples
- expansionCoal.lphy