predMdz: empiric equation for minimum temperature used in Mendoza

Description Usage Arguments Value Examples

View source: R/models.R

Description

According to Maldonado (see [1]), the empirical equation used in Mendoza to estimate the minimum temperature in the night is:

Tmin = ((Tmax + dew)/2)) - K

Usage

1
predMdz(dw, tempMax, model)

Arguments

dw

Dew Point in <c2><b0>C

tempMax

Maximum temperature of the previous day

model

an object of class MdzFrostModel, returned by buildMdz

Value

predicted minimum temperature

Examples

1
2
3
4
5
6
# just an example
dw <- c(-2,-5,2,6,8)
tempMax <- c(10,20,30,25,29)
tmin <- c(-1,-2,3,5,10)
out <- buildMdz(dw,tempMax,tmin)
predMdz(dw = -3, tempMax = 15, out)

frost documentation built on May 2, 2019, 10:19 a.m.