R/hr.R

Defines functions hr

Documented in hr

hr <-
    function(T, Td, warn = TRUE) {
        ## Author: Rene Locher
        ## Version 2019-01-30
        if (any(Td > T) & warn) warning("Some dew points are higher than corresponding air temperatures!")
        100*pw(Td)/pw(T)
    }

Try the IDPmisc package in your browser

Any scripts or data that you put into this service are public.

IDPmisc documentation built on Jan. 21, 2020, 5:06 p.m.