Learn R Programming

chillR (version 0.75)

PhenoFlex_GDHwrapper: PhenoFlex_GDHwrapper

Description

PhenoFlex wrapper function for the `phenologyFitter` function using the GDH heat accumulation model

Usage

PhenoFlex_GDHwrapper(x, par)

Value

A single numeric value with the JDay prediction for the temperaturs in `x$Temp` and the PhenoFlex parameters in `par`.

Arguments

x

data.frame with at least columns `Temp` and `JDay`

par

numeric vector of length 11 with the `PhenoFlex` fit parameters in the following order: 1. yc, 2. zc, 3. s1, 4. Tu, 5. E0, 6. E1, 7, A0, 8. A1, 9. Tf, 10. Tc, 11. Tb and 12. slope. For details see PhenoFlex