boltzmann: Fits the traditional temperature centred Boltzmann function...

Description Usage Arguments Author(s) Examples

Description

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

Usage

1
boltzmann(ln.c, Ea, temp, Tc, log = c("Y", "N"))

Arguments

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".

Author(s)

Daniel Padfield

Examples

 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)
  }

padpadpadpad/TeamPhytoplankton documentation built on May 24, 2019, 5:59 p.m.