Learn R Programming

biogrowth (version 0.2.0)

predict_isothermal_growth: Isothermal microbial growth

Description

Predicts population growth under static conditions using primary models.

Usage

predict_isothermal_growth(model_name, times, model_pars, check = TRUE)

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).

Value

An instance of IsothermalGrowth.

Examples

Run this code
# NOT RUN {
## 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)


# }

Run the code above in your browser using DataLab