hi: Heat Index

Description Usage Arguments Value Formula References Examples

Description

Combines air temperature and relative humidity to determine the human-perceived equivalent temperature

Usage

1
hi(taverage, rh, data_names = NULL, time.scale = YEAR, na.rm = FALSE)

Arguments

taverage

daily mean temperature, Celsius

rh

relative humidity, percentage

data_names

names of each period of time

time.scale

month, season or year

na.rm

logical. Should missing values (including NaN) be removed?

Value

index value

Formula

HI= -42,379+2,04901523*TG+10,14333127*rh-0,22475541*TG*rh-0.00683783*TG^2-0.05481717*rh^2+0.0122874*TG^2*rh+0.00085282*TG*rh^2-0.00000199*TG^2*rh^2

. Where TG is air temperature in ºF and rh is relative humidity in

References

The Heat Index Equation https://www.wpc.ncep.noaa.gov/html/heatindex_equation.shtml

Examples

1
2
data(data_all)
hi(taverage = data_all$tg, rh = data_all$humidity)

Example output

Loading required package: SPEI
Loading required package: lmomco
Loading required package: parallel
Loading required package: ggplot2
# Package SPEI (1.7) loaded [try SPEINews()].
Loading required package: chron
Loading required package: weathermetrics
     2050      2051      2052      2053      2054      2055      2056      2057 
       NA        NA        NA        NA        NA        NA        NA        NA 
     2058      2059      2060      2061      2062      2063      2064      2065 
       NA        NA        NA        NA        NA        NA        NA        NA 
     2066      2067      2068      1969      1970      1971      1972      1973 
       NA        NA        NA        NA        NA        NA        NA        NA 
     1974      1975      1976      1977      1978      1979      1980      1981 
       NA        NA        NA        NA        NA        NA  8.710383  9.660274 
     1982      1983      1984      1985      1986      1987      1988      1989 
 9.504110  9.506849  8.434426  9.536986  9.358904  9.961644  9.431694 10.093151 
     1990      1991      1992      1993      1994      1995      1996      1997 
 9.945205  9.021918  9.098361  8.709589 10.153425  9.936986  9.262295 10.345205 
     1998      1999      2000      2001      2002      2003      2004      2005 
 9.852055  9.838356  9.991803 10.134247  9.964384 10.438356  9.797814  9.857534 
     2006      2007      2008      2009      2010      2011      2012      2013 
11.000000  9.747945  9.650273 10.756164  9.347945 10.843836 10.625683  9.800000 
     2014      2015      2016      2017 
10.835616 10.961644 10.724044 11.257534 

ClimInd documentation built on April 10, 2021, 1:06 a.m.