time_to_logreduction {bioinactivation} | R Documentation |
Calculates the treatment time required to reach a given number of log reductions.
time_to_logreduction(n_logs, my_prediction)
n_logs |
Numeric of length one indicating the number of log recutions |
my_prediction |
An object of class SimulInactivation |
The treatement time is calculated by linear interpolation betweent the two points of the simulation whose logS is closer to n_logs