Learn R Programming

bioinactivation (version 1.3.0)

time_to_logreduction: Time to reach X log reductions

Description

Calculates the treatment time required to reach a given number of log reductions.

Usage

time_to_logreduction(n_logs, my_prediction)

Arguments

n_logs

Numeric of length one indicating the number of log recutions

my_prediction

An object of class SimulInactivation

Details

The treatement time is calculated by linear interpolation betweent the two points of the simulation whose logS is closer to n_logs