predict_isothermal_growth {biogrowth}R Documentation

Isothermal microbial growth

Description

[Superseded]

The function predict_isothermal_growth() has been superseded by the top-level function predict_growth(), which provides a unified approach for growth modelling.

Regardless of that, it can still be used to predict population growth under static environmental conditions (i.e. using primary models).

Usage

predict_isothermal_growth(
  model_name,
  times,
  model_pars,
  check = TRUE,
  logbase_mu = 10,
  logbase_logN = 10
)

Arguments

model_name

Character defining the growth model.

times

Numeric vector of storage times for the predictions.

model_pars

Named vector or list defining the values of the model parameters.

check

Whether to do basic checks (TRUE by default).

logbase_mu

Base of the logarithm the growth rate is referred to. By default, the same as logbase_logN. See vignette about units for details.

logbase_logN

Base of the logarithm for the population size. By default, 10 (i.e. log10). See vignette about units for details.

Value

An instance of IsothermalGrowth().

Examples

## Define the simulations parameters

my_model <- "modGompertz"
my_pars <- list(logN0 = 2, C = 6, mu = .2, lambda = 25)
my_time <- seq(0, 100, length = 1000)

## Do the simulation

static_prediction <- predict_isothermal_growth(my_model, my_time, my_pars)

## Plot the results

plot(static_prediction)



[Package biogrowth version 1.0.3 Index]