| isothermal_sensitivities | R Documentation |
Local sensitivites of isothermal microbial inactivation
isothermal_sensitivities(model, exp_design, pars)
model |
character defining the inactivation model according to the rules
in the |
exp_design |
data.frame with two columns named |
pars |
list defining the model parameters according to the rules defined
in the |
A list of class "IsoSensitivities" with 3 entries:
Inactivation model.
Model parameters used for the calculations.
data.frame adding columns to exp_design with the calculated sensitivities. Local sensitivities are named as the parameters, scaled sensitivities as parameter_name+_scaled.
library("tidyverse")
time_profile <- seq(0, 50, length = 20)
Temp_profile <- seq(52.5,60, length = 3)
exp_design <- expand.grid(time_profile,Temp_profile) %>%
rename(times = Var1, temperature = Var2)
pars <- list(z = 4.2, D_R = 3.9, temp_ref = 55)
my_sensitivities <- isothermal_sensitivities("Bigelow", exp_design, pars)
plot(my_sensitivities)
plot(my_sensitivities, limit = 6)