R/get_total_info.R

Defines functions get_total_info

Documented in get_total_info

get_total_info <-
function(Tmax, Tmin, Tbase, lat, day) {
  day_length <- get_day_length(lat, day)
  day_length[1:240] <- 100
  Tmean <- get_Tmean(Tmin, Tmax)
  thermal_units <- get_thermal_units(Tmin, Tmax, Tbase, Tmean)
  chill_days <- get_chill_days(Tmean, Tbase)
  info_data <- data.frame(day_length, Tmean, thermal_units, chill_days)
  return(info_data)
}

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.