gen_base_tpd: Generate base TPD

Description Usage Arguments Value Examples

View source: R/gen.R

Description

Generates base thermal-performance data (TPD) from a vector of basic thermal-performance traits (TPTs).

Usage

1
gen_base_tpd(topt, tb, skw, ctmin, ctmax, pmax, pmin)

Arguments

topt

Thermal optimum.

tb

Thermal breath (set at 0.8 of Pmax).

skw

Curve skewness (set at 0.8 of Pmax).

ctmin

Critical thermal minimum.

ctmax

Critical thermal maximum.

pmax

Maximum pefromance.

pmin

Percentage of Pmax corresponding to the minimum performance.

Value

A TPD of length 5 with temperature (t) and performance (p) data

Examples

1
2
3
tpd <- gen_base_tpd(topt = 30, tb = 5, skw = -2, ctmin = 15, ctmax = 35, pmax = 10, pmin = 0.1)
tpd
plot(tpd, pch = 19, xlab = "Temperature", ylab = "Performance", cex = 1.5)

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