get_tpts: Get TPTs

Description Usage Arguments Value Examples

View source: R/get.R

Description

Gets thermal-performance trait (TPT) values from a thermal-performance curve (TPC)

Usage

1
get_tpts(tpc, pmin)

Arguments

tpc

A thermal-performance dataset (TPC) with "t" for temperature and "p" for performance as columns

pmin

The percentage of Pmax corresponding to Pmin

Value

A tibble with trait and value as columns.

Examples

1
2
3
4
5
tpd <- gen_base_tpd(topt = 30, tb = 5, skw = -2, ctmin = 15, ctmax = 35, pmax = 10, pmin = 0.1)
fit <- fit_tpd(tpd)
tpc <- gen_tpc(fit)
tpts <- get_tpts(tpc)
tpts

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