bias: Calculates mean bias (difference between (max+min)/2 and...

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/F_bias.R

Description

Calculates the average difference between the series of mean daily temperatures calculated by (Tmax + Tmin) / 2 and the average calculated by 24 hourly values a day, as resulting from the interpolation (or from measurements). The function works on data tables with series on columns.

Usage

1
  bias(TMIN, TMAX, TMEAN, min_valid = 21)

Arguments

TMIN

data frame with daily minimum temperatures in columns. The first 3 columns are skipped (dates as year, month and day are supposed to be stored in these columns)

TMAX

same for TMAX

TMEAN

same for TMEAN. Should come from 24-hour daily means.

min_valid

min nr. of valid days in a month for retaining its average value (if valid days are fewer, monthly value is NA). Default is 21.

Value

A vector of means of daily biases, where the TMEAN is considered the "true" (reference) value

Note

Biases are calculated only on columns that are present in both TMIN/TMAX and TMEAN

Author(s)

Emanuele Eccel, Emanuele Cordano emanuele.eccel@iasma.it

References

Eccel, E., 2010: What we can ask to hourly temperature recording. Part II: hourly interpolation of temperatures for climatology and modelling. Italian Journal of Agrometeorology XV(2):45-50 http://www.agrometeorologia.it/documenti/Rivista2010_2/AIAM%202-2010_pag45.pdf,www.agrometeorologia.it

See also: Eccel, E., 2010: What we can ask to hourly temperature recording. Part I: statistical vs. meteorological meaning of minimum temperature. Italian Journal of Agrometeorology XV(2):41-43. http://www.agrometeorologia.it/documenti/Rivista2010_2/AIAM%202-2010_pag41.pdf,www.agrometeorologia.it

See Also

daily_mean

Examples

1
2
data(Trentino_hourly_T)
mo_bias <- bias(TMIN = Tn, TMAX = Tx, TMEAN = Tm_list, min_valid = 20)

Interpol.T documentation built on May 2, 2019, 12:21 a.m.