baranyi_diff_without_lag: The differential form of the predictive growth model...

Description Usage Arguments Details Value Examples

View source: R/baranyi_diff_without_lag.R

Description

The differential form of the predictive growth model developed by Baranyi & Roberts in 1994, to predict microbial growth in food environments.

Usage

1

Arguments

t

time vector

state

initial values of y for the first time value.

parameters

parameter list

Details

\begin{equation}d y=\operatorname{mu_{max}}^{*}(1-(y / y_{max} ))^{*} y\end{equation}

Value

dy

Examples

1
2
3
4
5
6
7
library (deSolve)
state<-c(y=15)
time<-seq(0,70, 1)
parameters<- c(mumax=1, ymax=10000)
out_baranyi_without_lag<-ode(y = state, times = time, func = baranyi_diff_without_lag,
 parms = parameters)
plot(time,log10(out_baranyi_without_lag[,"y"]),lty=1,col='red')

Ghayabh/predictive-microbiology documentation built on Nov. 14, 2020, 7:54 p.m.