R/cum_dev_rate.R

Defines functions cum_dev_rate

Documented in cum_dev_rate

cum_dev_rate <-
function(Tmean, thermal_units, chill_days, day_length,
                         bud_pars, weib_pars, lactin_pars, max_day_length, 
                         pop_quantiles = .5, data) {
  cdr <- phen_model(Tmean = Tmean, thermal_units = thermal_units, chill_days = chill_days,
                    day_length = day_length, bud_pars = bud_pars, weib_pars = weib_pars,
                    lactin_pars = lactin_pars, max_day_length = max_day_length,
                    pop_quantiles = pop_quantiles, data = data, save.l = TRUE)
  return(data.frame(data, "cum_devrate" = cdr))
}

Try the phenModel package in your browser

Any scripts or data that you put into this service are public.

phenModel documentation built on Aug. 2, 2019, 5:05 p.m.