rh2vp: Converts air temperature and relative humidity to vapour...

View source: R/utils.R

rh2vpR Documentation

Converts air temperature and relative humidity to vapour pressure

Description

This is an internal CRHMr function and should never need to be called directly, as it does NO data checking. Use the function changeRHtoEa instead.

Usage

rh2vp(airtemp, rh)

Arguments

airtemp

Required. Air temperature in ^\circC.

rh

Required. Relative humidity in percent.

Value

Returns vapour pressure in kPa. If the air temperatures are scalar, returns a scalar value. If the air temperatures are a vector, returns a vector.

Author(s)

Kevin Shook

See Also

changeRHtoEa

Examples

rh2vp(-5, 50)

CentreForHydrology/CRHMr documentation built on April 6, 2024, 5:27 p.m.