weibull: Weibull TPM

Description Usage Arguments Value References Examples

View source: R/tpms.R

Description

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

Usage

1
weibull(t, s, a, b, c)

Arguments

t

A temperature value or vector.

s

Scaling parameter.

a

Parameter equivalent to topt.

b

Parameter equivalent to the breath of the curve.

c

Parameter defining the shape of the curve.

Value

A value or vector of predited performance values

References

Angilletta Jr, Michael J. Estimating and comparing thermal performance curves. Journal of Thermal Biology 31.7 (2006): 541-545.

Examples

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

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