gen_tpc: Generate TPC

Description Usage Arguments Value Examples

View source: R/gen.R

Description

Generates a thermal-performance curve (TPC) from the results of a thermal-performance model (TPM)

Usage

1
gen_tpc(fit)

Arguments

fit

Fit object in the format of the output of the function fit_tpd

Value

A TPC dataset with temperature (t) and performance (p) data

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)
plot(tpd, pch = 19, cex = 1.25)
lines(tpc, lwd = 1.25, col = "lightgrey")

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