logisticPopFunc(Double t50, Double nCarryingCapacity, Double b, Double NA, Integer I_na)

Models population growth using a logistic growth function, with optional ancestral population size (NA) and indicator (I_na).

Parameters

  • Double t50 - The logistic midpoint (inflection point).
  • Double nCarryingCapacity - Carrying capacity (K).
  • Double b - Logistic growth rate.
  • Double NA - Ancestral population size (optional).
  • Integer I_na - Indicator for using NA (0 or 1).

Return type

PopulationFunction

Examples

  • logisticCoalescent.lphy
  • logisticCoalJC.lphy