# NOT RUN {
daystop <- 366
lat <- 35.476 # latitude for OKC
daylen <- daylength(daystop=daystop,lat=lat)
tmax <- 65
tmin <- 42
dlen <- daylen[60]
bt <- 44.96
result <- chillh(tmax,tmin,dlen,bt)
# }
Run the code above in your browser using DataLab