Skip to contents

Unlimited exponential growth model.

Usage

grow_exponential(time, parms)

Arguments

time

vector of time steps (independent variable).

parms

named parameter vector of the exponential growth model with:

  • y0 initial abundance (e.g. concentration of bacterial cells).

  • mumax maximum growth rate (1/time).

Value

vector of dependent variable (y).

Details

The equation used is: $$y = y0 * exp(mumax * time)$$

Examples


time <- seq(0, 30, length=200)
y <- grow_exponential(time, c(y0=1, mumax=0.5))[,"y"]
plot(time, y, type="l")