time_to_logreduction: Time to reach X log reductions

View source: R/time_to_reduction.R

time_to_logreductionR Documentation

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


bioinactivation documentation built on April 11, 2025, 5:53 p.m.