Description Usage Arguments Author(s) Examples
Fits the traditional temperature centred Boltzmann function to data. If no high temperature inactivation is present then this allows for modelling of that data. Has a term in for whether the data is log transformed or not
1 |
ln.c |
Specific rate (of metabolism) at Tc |
Ea |
Activation energy |
temp |
Temperature in K |
Tc |
#standardization temperature (in ÂșC, arbitrary) |
log |
Whether or not the data is log transformed (potential values are "Y" or "N"). Defaults to "Y". |
Daniel Padfield
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## The function is currently defined as
function (ln.c, Ea, temp, Tc, log = c("Y", "N"))
{
Tc <- 273.15 + Tc
k <- 8.62e-05
boltzmann.term <- ln.c + log(exp(Ea/k * (1/Tc - 1/temp)))
exp.boltzmann.term <- ln.c * exp(Ea/k * (1/Tc - 1/temp))
if (missing(log))
return(boltzmann.term)
if (log == "Y")
return(boltzmann.term)
if (log == "N")
return(exp.boltzmann.term)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.