discomInd: Calculation of the discomfort index.

View source: R/discomInd.R

discomIndR Documentation

Calculation of the discomfort index.

Description

Calculation of the discomfort index from temperature and relative humidity.

Usage

discomInd(tas, hurs)

Arguments

tas

vector of air temperature in degC.

hurs

vector of relative humidity in %.

Details

Formula based on air temperature and relative humidity, as it is calculated in Coccolo et al. 2016 and references therein.

Value

Discomfort index in degC.

Author(s)

A.Casanueva (22.03.2018).

Examples

## Not run:  
# load the meteorological variables for example data in Salamanca:
data("data_obs") 
di <- discomInd(data_obs$tasmean, hurs=data_obs$hurs)

## End(Not run)


anacv/HeatStress documentation built on Aug. 9, 2022, 2:36 p.m.