getTrend: Temperature trend during a frost night.

Description Usage Arguments Value Examples

View source: R/models.R

Description

Predict the trend of the temperature during a frost night. This equation has been taken from UC Davis formula [1] which was also published in the FAO book mentioned in predFAO function.

[1] <http://biomet.ucdavis.edu/frostprotection/fp002.htm>

Usage

1
getTrend(Tmin, t2, n, plot = FALSE)

Arguments

Tmin

predicted minimum temperature.

t2

temperature 2 hours after sunset, where t2 > Tmin

n

how many hours between sunset and sunrise, an integer value where n > 2

plot

TRUE if you want to see the trend plot, otherwise FALSE. Default value: FALSE

Value

A data frame with the (x,y) points plotted, where y values are the n-2 values of estimated temperatures

Examples

1
2
getTrend(Tmin = 22.2,t2 = 33.7,n = 15) # in °F degress
getTrend(Tmin = -5.45,t2 = 0.95,n = 15,plot=TRUE) # in °C degress

anadiedrichs/frost documentation built on March 22, 2021, 12:19 a.m.