fit_tpd: Fit TPD

Description Usage Arguments Value Examples

View source: R/fit.R

Description

Fits a thermal-performance dataset (TPD) using a the best (lowest AIC scored) thermal-performance model (TPM) through a Non-linear least squares (nls) approach

Usage

1
fit_tpd(tpd)

Arguments

tpd

A thermal-performance dataset (TPD)

Value

Model results in tibble format divided in 3 columns: AIC score, TPM name and model results (nested)

Examples

1
2
3
tpd <- gen_base(topt = 30, tb = 5, skw = -2, ctmin = 15, ctmax = 35, pmax = 10, pmin = 0.1)
fit_tpd(tpd)
fit_tpd(tpd) %>% select(results) %>% unnest()

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