Description Usage Arguments Value Examples
This function makes a prediction on TPT values based on TPD
1 | pred_tpts(tpc, Pmin)
|
Pmin |
The percentage of Pmax corresponding to Pmin |
curve |
A thermal-performance dataset (TPC) with "t" for temperature and "p" for performance as columns |
A vector of predicted TPTs
1 2 3 4 5 6 | original_tpts <- data.frame(Topt = 25, Tb50 = 4, Tb80 = 2, Skw50 = -0.25, Skw80 = 0.15, Pmax = 10, Pmin = 0.1, CTmax = 27, CTmin = 20)
tpd <- gen_tpd(original_traits, 10, 0)
fit <- fit_tpd(tpd)
tpc <- gen_tpc(fit)
predicted_tpts <- pred_tpts(tpc,0.1)
cbind(tpts = c("original","predicted"),rbind(original_tpts,predicted_tpts))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.