time_to_logreduction: Time to reach X log reductions

Description Usage Arguments Details

View source: R/time_to_reduction.R

Description

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

Usage

1
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


bioinactivation documentation built on Aug. 1, 2019, 5:05 p.m.