isothermal_sensitivities: Local sensitivites of isothermal microbial inactivation

Description Usage Arguments Value Examples

View source: R/isothermal_sensitivities.R

Description

Local sensitivites of isothermal microbial inactivation

Usage

1
isothermal_sensitivities(model, exp_design, pars)

Arguments

model

character defining the inactivation model according to the rules in the bioinactivation package.

exp_design

data.frame with two columns named times and temperature describing the experiment design.

pars

list defining the model parameters according to the rules defined in the bioinactivation package.

Value

A list of class "IsoSensitivities" with 3 entries:

model

Inactivation model.

pars

Model parameters used for the calculations.

sensitivities

data.frame adding columns to exp_design with the calculated sensitivities. Local sensitivities are named as the parameters, scaled sensitivities as parameter_name+_scaled.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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)

bioOED documentation built on Aug. 7, 2019, 5:03 p.m.