build_temperature_interpolator {bioinactivation}R Documentation

Continuum Interpolation of Discrete Temperatures Values

Description

Builds an interpolator of the temperature at each time and its first derivative. First derivatives are approximated using forward finite differences (approxfun). It is assumed that temperature is 0 and constant outside the time interval provided.

Usage

build_temperature_interpolator(temperature_data)

Arguments

temperature_data

data frame with the values of the temperatures at each value of time. It need to have 2 columns, named time and temperature.

Value

a list with with two elements:

See Also

approxfun


[Package bioinactivation version 1.2.3 Index]