gaussian: Gaussian TPM

Description Usage Arguments Value References Examples

View source: R/tpms.R

Description

Predicts performance (p) at a given temperature (t) using a Gaussian thermal-performance model (TPM)

Usage

1
gaussian(t, s, a, b)

Arguments

t

A temperature value or vector.

s

Scaling parameter.

a

Parameter equivalent to topt or the mean of the distribution.

b

Parameter equivalent to standard deviation.

Value

A value or vector of predicted performance values

References

Lynch, M., Gabriel, W., Environmental tolerance. The American Naturalist. 129, 283–303. (1987)

Examples

1
2
3
t <- seq(20,30, by = 0.1)
p <- gaussian(t = t, s = 10, a = 25, b = 2)
plot(t,p,type = "l", lwd = 2, xlab = "Temperature", ylab = "Predicted Performance")

ggcostoya/limon documentation built on April 27, 2021, 10:09 p.m.