| gdd_predict | R Documentation |
Evaluates the fitted model (linear or nonlinear) at the given
temperatures and returns the predicted developmental rate and
duration D = 1 / V.
gdd_predict(object, temp, group = NULL)
object |
A |
temp |
Numeric vector of target temperatures (deg C). |
group |
Character vector of group names to predict; default is all groups. |
A data.frame with columns: group, temp,
pred_rate, pred_duration, within_range.
f <- system.file("extdata", "gdd_example.csv", package = "insectecol")
fit <- gdd_calc(gdd_read(f), by = "stage")
gdd_predict(fit, temp = c(20, 24, 28), group = "Egg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.